11:42Coding Challenge #159: Simple Pendulum Simulation
From the creator
Choo choo! In this challenge, I build on chapter 3 (Oscillating Motion) of the Nature of Code series and simulate a simple pendulum in p5.js via angular acceleration. https://thecodingtrain.com/challenges/159-simple-pendulum 🕹️ p5.js Simple Pendulum https://editor.p5js.org/codingtrain/sketches/SN-39sHAC 🕹️ p5.js OOP Pendulum: https://editor.p5js.org/codingtrain/sketches/lJz1cmMp4 🕹️ p5.js Pendulum Array: https://editor.p5js.org/codingtrain/sketches/Bj82tUlIO 🎥 Pendulum Array Exploration: https://youtu.be/dpqNqyQCcbY?t=2283 🎥 Previous Coding Challenge: https://youtu.be/3MqJzMvHE3E?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Next Coding Challenge: https://www.youtube.com/watch?v=Rr-5HiXquhw&list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 All Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Previous Nature of Code Video: https://www.youtube.com/watch?v=okfZRl4Xw-c&list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 Next Nature of Code Video: https://www.youtube.com/watch?v=Rr-5HiXquhw&list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 All Nature of Code Videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM Links discussed in this video: 🔗 Nature of Code Playlist: https://thecodingtrain.com/learning/nature-of-code/index 🔗 Applications of Differential Equations - The Simple Pendulum: http://calculuslab.deltacollege.edu/ODE/7-A-2/7-A-2-h.html 🔗 Simple Pendulum (myPhysicsLab.com): https://www.myphysicslab.com/pendulum/pendulum-en.html
Published 2021-02-20 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





