schteppe/p2.js — pull request #7 by Fishrock123 (2013-04-30 14:02:27+00:00)
Title: Use options objects to set properties on World, Body, and Spring.

This allows for a very nice way to set every property on an object if
desired.

I realize this isn't exactly the route you took for cannon, but I believe that since we are in Javascript land, we ought to utilize it for such.