- BasicDrawing a growing circle using harmonic motion
- Approximate TimeGenerating oscillating motion without an exact time increment
- Exact Time ExerciseGenerating oscillating motion using a specific amount of milliseconds to determine the period
- MainDrawing oscillating motion that accelerates over time
- YoyoUsing oscillating motion to animate a yoyo
- 2-Axes ExerciseSimulating oscillating motion along two axes
What is a sine wave? In this video, I demonstrate how to use the sin() function in p5.js to simulate simple harmonic motion.