Skip to content
A nodejs and client-side library for (cubic) Bezier curve work
JavaScript HTML CSS
Branch: master
Clone or download
Pull request Compare This branch is even with Pomax:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
js
lib
test
.gitignore
README.md
bezier.js
index.html
index.js
package.json
style.css
test.js
webpack.config.js

README.md

Bezier.js

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).

Installation

npm install bezier-js will add bezier.js to your dependencies, remember to add --save or --save-dev if you need that to be persistent of course.

Use

var Bezier = require('bezier-js') and off you go.

Use in the browser

Load the toplevel bezier.js the same way you would any other browser script, using a <script src="..."></script> declaration.

Working on the code

To test new code, use npm test.

To build the library, use npm run build.

License

This code is MIT licensed.

Engagement

For comments and questions, tweet at me or file an issue.

You can’t perform that action at this time.