Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Physics Libraries - Box2D, Toxiclibs, and Matter.js - The Nature of Code

Coding Train via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore physics simulation programming through comprehensive video lessons covering multiple physics libraries including Box2D, toxiclibs, and Matter.js. Master the fundamentals of physics engines by learning how to create dynamic bodies, static objects, and complex shapes while understanding coordinate systems and vector mathematics. Implement various joint types including distance joints, revolute joints, and mouse joints to create interactive mechanical systems. Discover how to apply forces, handle collision detection and events, and create user-controlled objects with kinematic properties. Dive into Toxiclibs Verlet Physics to understand particle systems, spring connections, and attraction behaviors for creating cloth simulations and connected particle networks. Learn Matter.js implementation techniques including body creation and deletion, constraint systems, and mouse interaction controls. Practice your skills through hands-on coding challenges that demonstrate real-world applications like Plinko games and 3D cloth simulations, providing practical experience with physics-based programming concepts essential for creative coding and game development.

Syllabus

5.0a: Introduction to Physics Engines Part 1 - The Nature of Code
5.0b: Introduction to Physics Engines Part 2 - The Nature of Code
5.1: Introduction to Box2D - The Nature of Code
5.2: What makes up a Box2D world? - The Nature of Code
5.3: Box2D Coordinates and Vectors - The Nature of Code
5.4: Adding Box2D to Processing Sketch Part 1 - The Nature of Code
5.5: Adding Box2D to Processing Sketch Part 2 - The Nature of Code
5.6: Static Bodies and Chain Shapes in Box2D - The Nature of Code
5.7: Complex Shapes in Box2D - The Nature of Code
5.8: Box2D Joints: Distance Joint - The Nature of Code
5.9: Box2D Joints: Revolute Joint - The Nature of Code
5.10: User Controlled Objects: Mouse Joint and Kinematic Type - The Nature of Code
5.11: Applying forces in Box2D - The Nature of Code
5.12: Collision Events in Box2D - The Nature of Code
5.13: What is Toxiclibs Verlet Physics? - The Nature of Code
5.14: Toxiclibs Verlet Physics Basics: Particles and Springs - The Nature of Code
5.15: Connected Systems with Toxiclibs VerletPhysics - The Nature of Code
5.16: Attraction Behaviors in Toxiclibs VerletPhysics - The Nature of Code
Coding Challenge #20: 3D Cloth with toxiclibs
5.17: Introduction to Matter.js - The Nature of Code
5.18: Introduction to Matter.js Continued - The Nature of Code
5.19: Matter.js: Deleting Bodies - The Nature of Code
5.20: Matter.js: Constraints - The Nature of Code
5.21: Matter.js: Mouse Constraints - The Nature of Code
Coding Challenge #62.1: Plinko with Matter.js Part 1
Coding Challenge #62.2: Plinko with Matter.js Part 2
Coding Challenge #62.3: Plinko with Matter.js Part 3
Coding Challenge #62.4: Plinko with Matter.js Part 4

Taught by

The Coding Train

Reviews

Start your review of Physics Libraries - Box2D, Toxiclibs, and Matter.js - The Nature of Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.