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.

Evolution of time in simulation post and replies

Return to the Evolution of time in simulation thread
Login to post to this thread

Apostolos Michaloudis
28 Posts

Hi everyone!
I have a problem:
I use a page of code and i increase time like this:
t += dt;    where dt = 0.1;

Problem is that in diferrent machines sim is going way too slow

I choose RTV -> t
and SPD -> 1

To fix the problem i create methods to increase the speed with _setSPD() method.

Is there a way to make sim running smoothly without having the students choose the speed?

Replies to Time

Re: Time -
lookang Avatar
222 Posts

I normally have no problems with this.
I usually use 20 frames per seconds and rest are default values.
Try using a smaller frame dimensions as full screen view has been known to slow down the sims due to low processor speed and low graphics capabilities.

Post edited July 19, 2014 at 3:26 AM EST.

OSP@SG blog
OSP@SG Digital Library

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