Box2d-JS

Box2d-JS

Inspiration

  • Box2D is an actively maintained, open-source C++ library.
  • Box2D-JS Is a javascript port of the C++ library. It was last updated 15 May, 2008.
    • See the original demo here.

Pixel Lab Box2d-JS

The folks at Pixel Lab modified the library to use Google’s Closure Javascript Compiler for great compression–with the added benefit of compile-time checking. (We found a lot of bugs in the original javascript).

It’s being used for Agent 008 Ball - an HTML5 billiards game.

The demo site is here.

The demo site source, including demo code, can be found in this Github repository.

Please open issues or fork, fix, and send a pull request.

Happy to work with you.