PhysicSketch
ANDO Yasushi has created this fantastic demo using the Box2DJS library. PhysicSketch allows to draw items on the canvas and then hit a button to watch gravity take control.

Click and drag your mouse on the canvas to draw. If the starting and the ending points are far enough, the track becomes connected lines. If the starting and the ending points are near each other, the track becomes a filled body. Then click the `Stop/Start Timer’ button to watch your sketch fall under Newton’s law. For added complexity, click the `Show Physical Body’ button and then click the body of the sketch you want to select. The selected body is inspected and its information is shown on the lower sidebox for manipulation.
Works in Firefox 3 and Chrome.



Related demos