Box2D "HTML5" demo

Using the JavaScript Box2D port eg: box2dweb, I've set-up a sample demo using the Box2D's logo:
Image

All is pure HTML/CSS/JS and you can test it using your mouse: http://bl.ocks.org/3411189

Source code: https://gist.github.com/3411189

Just to share it with the community 😉
I guess you are using Google Chrome?
It does not work in Firefox or Internet Explorer.

Interesting experiment though.
A bit more evolved, but always in pure HTML5 and mobile compatible (try it on your mobile, and tilt!): http://bl.ocks.org/abernier/raw/8561651/

Image
Last one was just approved and published on Chrome Experiments: http://www.chromeexperiments.com/detail/box2d-mobile/ Don't hesitate to vote for 😉

Original thread: https://box2d.org/forum/viewtopic.php?t=8772