bezier
v0.1.0
Published
n-degree Bezier interpolation
Downloads
10,808
Readme
bezier
n-degree Bezier spline interpolation.
Usage
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.