3.5 Harmonic Motion
- 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.
Coding Train video on the map() function in p5js
Coding Train challenge on creating a Lissajous Curve Table in p5js
- Editing
by Mathieu Blanchette
- Animations
by Jason Heglund