bezier

n-degree Bezier interpolation

  • bezier

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
bezier
5300.1.09 years ago9 years agoMinified + gzip package size for bezier in KB

Readme

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.