tubeshowcase●1,671,252 videos♡ My collection 0
← Learn to Code

Learn to Code15:45

5.18: Introduction to Matter.js Continued - The Nature of Code

The Coding Train ↗

From the creator

In this video, I expand on the example from "Introduction to Matter.js" by adding angled static shapes and circular bodies to the physics simulation. Code: https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/6-physics-libraries/2-matterjs-introduction-continued 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/DOqF83CzT 🎥 Previous: https://youtu.be/urR596FsU68?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 Next: https://youtu.be/4HsVCLakjtQ?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 All: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM References: 🔗 Nature of Code: https://nature-of-code-2nd-edition.netlify.app/ 🔗 Matter.js: https://brm.io/matter-js/ Videos: 🚂 Matter.js playlist: https://www.youtube.com/watch?v=urR596FsU68&list=PLRqwX-V7Uu6bLh3T_4wtrmVHOrOEM1ig_ Timestamps: 0:00 Introduction 1:16 Make a boundary object 4:19 Demonstrate the problem with the boundary in the previous video 7:21 Set the angle of the boundary 8:16 Add more boundaries 12:19 Change the rectangles to circles 15:07 Outro Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: https://thecodingtrain.com/ 👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box 💡 GitHub: https://github.com/CodingTrain 💬 Discord: https://thecodingtrain.com/discord 💖 Membership: http://youtube.com/thecodingtrain/join 🛒 Store: https://standard

Published 2017-03-07 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code