Changes
Suppose we want new to revolve
once ever 2 seconds
animate()
sets timer for two different times
When animating, 30 ms
When waiting, 2000ms
Use an
if
-statement
if (frame == 0)
setTimeout("animate()",2000);
else
setTimeout("animate()",30);