In this video, I attempt to answer the questions: (1) what are Physics Engines? and (2) why would you want to use them? I discuss some common physics engines and their various pros/cons — box2d, toxiclibs, matter.js.
Part 2 of this video ( is a Q&A on the subject viewer-submitted questions.
Support this channel on Patreon:
Send me your questions and coding challenges!:
The Coding Train website:
Links discussed in this video:
Bullet Physics Library:
The Nature of Code:
My Nature of Code playlist on Physics Engines:
My Coding Challenge on 3D Cloth with toxiclibs:
Source Code for the all Video Lessons:
For More Nature of Code videos:
For More Coding Challenges:
For an Intro to Programming using p5.js:
Help us caption & translate this video!