A node.js and client-side library for (quadratic and cubic) Bezier curve work.
For a Demo and the API, hit up either pomax.github.io/bezierjs
or read the souce (./lib
for the library code, start at index.js
).
npm install bezier-js
To rebuild, simply use npm test
, which runs both the build and tests (which aren't very
test-like atm, they just allow you to valid two curves. More to come). For comments and
questions, tweet at me or file an issue.
This code is MIT licensed.