bezier
n-degree Bezier interpolation
Last updated 13 years ago by hughsk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install bezier 
SYNC missed versions from official npm registry.

bezier experimental

n-degree Bezier spline interpolation.

Usage

bezier

curve = require('bezier')(pointCount)

Generates a function which takes pointCount number of points to draw a bezier curve.

curve(points, t)

Given an array of points that is pointCount long, return the value across the curve at t.

License

MIT. See LICENSE.md for details.

Current Tags

  • 0.1.0                                ...           latest (13 years ago)

3 Versions

  • 0.1.0                                ...           13 years ago
  • 0.0.1                                ...           13 years ago
  • 0.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 19
Today 0
This Week 0
This Month 14
Last Day 0
Last Week 8
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE