Script 18: Pendulum

 

Drag the pendulum bob after you hit reset to start the animation at a different initial angle.