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.

does EJS5.0 allow drawing objects to move on drag? post and replies

Return to the does EJS5.0 allow drawing objects to move on drag? thread
Login to post to this thread

does EJS5.0 allow drawing objects to move on drag?
lookang Avatar
lookang
245 Posts

dear prof, does EJS5.0 allow drawing objects to move on drag?

i tried to use it like is EJS but the EJSS object cannot move yet.

i am wondering is it a feature to be add or has already been added like http://www.compadre.org/osp/items/detail.cfm?ID=13319&S=2

for example, i see you have already made for EJSS _view.drawingPanel.getInteraction().getInteractionPoint();

 

Post edited August 17, 2014 at 10:22 PM EST.

Post edited August 17, 2014 at 10:23 PM EST.

Post edited August 17, 2014 at 10:23 PM EST.

Attached File: 2014-08-18_1020.png


OSP@SG blog
OSP@SG Digital Library

Replies to does EJS5.0 allow drawing objects to move on drag?

Re: does EJS5.0 allow drawing objects to move on drag? -
Francisco Esquembre
237 Posts

Hi,

You need to Enable the panel first. Then, enable the drawable.

Mouse gestures are cpu consuming in JS. Hence, we disable them by default.

Paco



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book