Simple Harmonic Motion (An Example) : Precalculus | Physics  
The frames for this animation were created with Mathematica. The animation itself is using the LiveGraphics3D applet.