Simple Harmonic Motion

Nature of Code Lesson #3.5

What is a sine wave? In this video, I demonstrate how to use the sin() function in p5.js to simulate simple harmonic motion.