Thank you Erin for adding this forum!
I'm sure other web developers out there have been thinking about a physics engine for HTML5 like I have. After scouring the web, I found 3 decent ports of Box2D to Javascript for use with the canvas element (all based on the AS3 port). The most up to date port appears to be Box2DWeb:
http://code.google.com/p/box2dweb/
Box2DWeb is based on a more recent Box2D release than the better known Box2DJS, and I've had better luck with performance and collision accuracy. Performance on iPad may not be acceptable for most applications, however, I'm hopeful iPad2's speed boost will change that.
Unless there's a sudden resurgence of activity on the other ports, I think this is the best option for Javascript / HTML5 physics out there and I'd recommend it to other developers.
Additions I will be working on or looking for (tell me if you've already done this work!) are:
- rope joints
- tools for simplified 'actor' integration
I'm sure other web developers out there have been thinking about a physics engine for HTML5 like I have. After scouring the web, I found 3 decent ports of Box2D to Javascript for use with the canvas element (all based on the AS3 port). The most up to date port appears to be Box2DWeb:
http://code.google.com/p/box2dweb/
Box2DWeb is based on a more recent Box2D release than the better known Box2DJS, and I've had better luck with performance and collision accuracy. Performance on iPad may not be acceptable for most applications, however, I'm hopeful iPad2's speed boost will change that.
Unless there's a sudden resurgence of activity on the other ports, I think this is the best option for Javascript / HTML5 physics out there and I'd recommend it to other developers.
Additions I will be working on or looking for (tell me if you've already done this work!) are:
- rope joints
- tools for simplified 'actor' integration