In this coding challenge, I create a double pendulum simulation in Processing. Code: https://thecodingtrain.com/challenges...
p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...
Previous video: • Coding Challenge #92: XOR Problem
Next video: • Coding Challenge #94: 2048 Part 1
All videos: • Coding Challenges
References:
Physics Lab Double Pendulum: https://www.myphysicslab.com/pendulum...
Videos:
Pendulum Simulation: • 3.4: Pendulum Simulation The Nature...
Coding Train Live 120: • Live Stream #120: MNIST and Pendulums
Related Coding Challenges:
#86 Cube Wave by Bees and Bombs: • Coding Challenge #86: Cube Wave by Be...
#159 Simple Pendulum Simulation: • Coding Challenge #159: Simple Pendulu...
Timestamps:
0:00:00 Double Pendulum Simulation
0:03:45 Creating The Double Pendulum
0:08:35 Adding The Tracing of The Path
0:12:51 Implementing The Double Pendulum Formulas
0:24:45 Visualizing It
0:28:21 Adding Damping
0:29:16 Conclusions And Suggestions
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
Website: http://thecodingtrain.com/
Share Your Creation! https://thecodingtrain.com/guides/pas...
Suggest Topics: https://github.com/CodingTrain/Sugges...
GitHub: https://github.com/CodingTrain
Discord: https://thecodingtrain.com/discord
Membership: http://youtube.com/thecodingtrain/join
Store: https://standard.tv/codingtrain
Twitter: / thecodingtrain
Instagram: / the.coding.train
Coding Challenges: • Coding Challenges
Intro to Programming: • Start learning here!
p5.js: https://p5js.org
p5.js Web Editor: https://editor.p5js.org/
Processing: https://processing.org
Code of Conduct: https://github.com/CodingTrain/Codeo...
This description was autogenerated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...
#doublependulum #pendulumharmonicmotion #processing