A BezierCurve curve on
0 <= x <= 1.
Construct a Bezier curve from a list of control points. The degree of the curve is one less than the number of control points.
Split and rescale a Bezier curve. Given a
b and a point
splitBezierCurve b t creates 2 curves
(b1, b2) such that (up to
reasonable numerical accuracy expectations):
evalSpline b1 x == evalSpline b (x * t) evalSpline b2 (x-t) == evalSpline b (x * (1-t))