9:54:075.4: Adding Box2D to Processing Sketch Part 1 - The Nature of Code
From the creator
This video covers the basics of adding Box2D to a Processing sketch. Code: https://thecodingtrain.com/tracks/physics-libraries/physics-libraries/box2d/4-adding-to-processing-sketch 💻 Code Example: https://github.com/nature-of-code/noc-examples-processing/blob/master/chp05_physicslibraries/box2d/NOC_5_2_Boxes/Boundary.pde 🎥 Previous: https://youtu.be/iNHfAFx8ktQ 🎥 Next: https://youtu.be/1YYMiWheJuc References: 🔗 Nature of Code: https://natureofcode.com 🔗 Nature of Code Processing Examples: https://github.com/nature-of-code/noc-examples-processing/tree/master/chp05_physicslibraries/box2d/NOC_5_5_MultiShapes 🔗 Box2D: https://box2d.org 🔗 JBox2d: https://github.com/jbox2d/jbox2d Timestamps: 0:00 Introduction 0:56 Box objects 3:16 Initializing a Box2D body 6:23 Creating a shape for the body 7:49 Fixtures 9:04 Putting it all together 9:52 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.tv/codingtrain 🖋️ Twitter: https://twitter.com/thecodingtrain 📸 Instagram: https://www.instagram.com/the.coding.train/ 🎥 https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 https://www.
Published 2015-08-06 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





