JavaScript Physics with Box2D | Lee Brimelow | Skillshare

JavaScript Physics with Box2D

Lee Brimelow, Web Developer

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
2 Videos (43m)
    • JavaScript Physics with Box2D Part 1

    • JavaScript Physics with Box2D Part 2


About This Class

Learn how to setup and use the JS port of Box2D for physics.

box2d.js is a direct port of the Box2D 2D physics engine to JavaScript, using Emscripten. The source code is translated directly to JavaScript, without human rewriting, so functionality should be identical to the original Box2D. box2d.js is zlib licensed, just like Box2D. Discussion takes place on IRC at #emscripten on Mozilla's server (

Box2D is the world's most ubiquitous 2D physics engine. It's light, robust, efficient and highly portable. It has been battle-proven in many applications on many platforms, and it's open-source and free. Check out the Box2D website at A physics engine simulates the physics of objects to give them believable real-life movement. Although it can be used for other applications, the project was born primarily as a library for use in games, and games make up the majority of software using Box2D. The engine is written and maintained by one Erin Catto who it seems, not satisfied by simply making kick-ass physics as a day-job, set up Box2D to make kick-ass physics as a hobby as well.





  • --
  • Beginner
  • Intermediate
  • Advanced
  • All Levels
  • Beg/Int
  • Int/Adv


Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

Lee Brimelow

Web Developer

Lee is a web developer that has worked extensively with HTML, JavaScript, and CSS, as well as Microsoft technologies such as ASP.NET MVC, SQL Server, and Azure.

See full profile

Report class