Simple Physics Engine

Standalone 2D Physics Engine in Javascript. Features include no external libraries or plugins required, easy grouping of objects, collision policies, and renderer agnostic — can use canvas, SVG, WebGL, or even DHTML.

It’s just a toy engine, but it’s simple enough to understand how a physics engine works. It’s open source on github.

Here is a demo of it in action.