I open sourced my "toy" version of JavaScript physics engine just few days ago too. It's not really for serious work, but may be (hopefully) simple and good enough for beginning programmers to learn one way of starting such a project.
https://github.com/fuzzthink/SPE.js
Thanks! No, haven't had the time to do an SVG demo, but that shouldn't stop anyone from doing so ;) Thanks for the link, didn't know about jquery.svg, maybe I'll play around with that if I find the time or no one builds one already.