I finally had time to revisit this project and have put together a very basic example of using Paper.js.
https://gist.github.com/adamdyson/852291b64a98fd287554The example in the link above simply creates a rectangle shape and exports SVG from the scene graph. So no complex animation and interactions. Also included in the link is the command executed in an attempt to produce a PDF and the resulting output.