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!:

Contact:
Twitter:
The Coding Train website:

Links discussed in this video:
Box2D:
toxiclibs:
Bullet Physics Library:
Cannon.js:
Matter.js:
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:

p5.js:
Processing:

For More Nature of Code videos:
For More Coding Challenges:
For an Intro to Programming using p5.js:

Help us caption & translate this video!