I surfed the internet last week without a real target and stumbled upon Box2Djs (http://box2d-js.sourceforge.net/), a 2D physics engine for Javascript based on Box2d which I already knew. So I downloaded and tested it and started a little "tech test" project. It's a simple 2d sidescroller, graphic sucks (but that was not the purpose of the project), but it works. If your browser has the HTML5 canvas element you can try it (it's only tested on Firefox however):
http://bulletbyte.de/products.php?sub=js&show=buggy
Here's the text from my homepage:
Btw: you don't have to reload the page to restart the game ... I should change the text on the homepage I guess.JSBuggy is just another little test project I did to see what's possible with the new HTML5 canvas and JavaScript. This time I found a JavaScript 2D physics engine, Box2dJS and did some testing with it. You have to drive a buggy over a racetrack (from left to right). You control the buggy with the "Cursor left" and "Cursor right" keys. Once you get stuck or flip you'll have to reload the page in order to restart the game. Have some fun.