paper.js

The Swiss Army Knife of Vector Graphics Scripting

vectorgraphicgraphics2dgeometrybeziercurvecurvespathpathscanvassvgpaperpaper.js

http://paperjs.org/