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 - December 22, 2019 at 11:08
Cleon Teunissen
25 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 - January 7)
Re: clearTraces   (Wolfgang - January 7)
Re: clearTraces   (Cleon Teunissen - January 9)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics