A crazy geek ported “box-2d” (a rigid body simulation engine) to Javascript and the new HTML5 <canvas> tag.

box2d-js

clic to view demo