Animator scripts can become very elaborate. We often use Physlets to for lecture demonstrations. As explained in most textbooks, this example shows that both the oscillations of a mass on a spring and the vertical position of an object undergoing uniform circular motion can be described sinusoidally. These types of motion are in fact isometric. The features of the Animator applet are used to make this clearer to students.
Script by Mario Belloni