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.

clearTraces

Return to the EJS Modeling forum
Login to post to this thread

clearTraces
Cleon Teunissen
29 Posts

EJS has pre-written actions, the most frequently used are _play(), _pause(), _step(), and _reset().

In many of my EJS simulations I add a button 'Clear Traces', which on clicking invokes the action _view.resetTraces()

As far as I can tell, there is no 'resetTraces' in EJsS.

I have created a combination of two screenshots. See the attached image, EJsS_EJS_actions.png

The left column is all of the pre-written actions that are available in the EJsS environment, the column on the right is the list of pre-written actions available in the EJS environment.

Is the absence of a pre-written clearTraces() action intentional, or is it a regression that at some point in the future will be corrected?

Cleon Teunissen

Attached File: EJsS_EJS_actions.png


Current Replies - View all
Re: clearTraces   (Cleon Teunissen - )
Re: clearTraces   (Wolfgang - )
Re: clearTraces   (Cleon Teunissen - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book