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 use conditions in ejs?

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

how to make a ball following the line of a square?
Otavio Neves
7 Posts

I need to do a simulation of electrical circuit, it would insert balls representing the electrons flowing through the circuit, however I can only make the ball swing from side to side. How do I follow the line of the ball made??? Attached is what I have done.


Current Replies - View all
how to make a ball follow...   (Otavio Neves - )
Re: how to make a ball fo...   (Francisco Esquembre - )
Re: Re: how to make a bal...   (Otavio Neves - )
Re: Re: Re: how to make a...   (lookang - )
Re: Re: Re: Re: how to ma...   (Otavio Neves - )
Re: how to make a ball fo...   (Otavio Neves - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book