APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

How to make drawables (2D and/or 3D) draggable in Javascript

Return to the OSP Programming forum
Login to post to this thread

I would like to make an object draggable
Karim Diff
1 Posts

I am working on a Javascript simulation where the user would be able to move objects on the screen but I can't find the option that makes the object draggable te same way it is possible in Java. Any suggestions on how I could do that?


Current Replies - View all
Re: I would like to make ...   (Wolfgang - )
OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book