This is an interactive educational project showing the relationship between the movement around a circle (circular motion) and the movement of an object attached to a spring (harmonic motion). Instructions: Up/down keys to rotate the circle. Space to switch 3D lighting on/off (visible when the circle is almost flat). The red circle is vertical at startup. You can make it horizontal/vertical by down/up keys. The green dot moves at a constant speed along the circle (that is, with a uniform circular motion). When the circle is horizontal switch lighting off. The green dot moves now with an harmonic motion with respect to the red line segment, that is more slowly when it is close to the end points and more quickly when it is closer to the middle of the line segment.
erff