Box2D JS – Javascript 2D physics library

Technology

box2d_20090218.jpg

Chances are, you’ve played a Flash game or two that makes use of a 2D Newtonian physics engine. If you’re a Javascript coder, though, there’s no reason why you should feel left out of the fun.

Box2D JS is a Javascript port of the popular Box2DFlashAS3 library. This is cool for a couple of reasons. First, it brings a simple 2D physics API to Javascript. Almost as important, it’s the exact same API that Flash developers have been using, so there’s an existing set of documentation and a lot of sample code can be easily ported.

Box2D JS
Box2DFlashAS3

2 thoughts on “Box2D JS – Javascript 2D physics library

  1. Cats says:

    this will be great for implimenting turing tests

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK