Function curveBasis

  • A curve factory for cubic basis spline generators.

    The curve generators produce a cubic basis spline using the specified control points. The first and last points are triplicated such that the spline starts at the first point and ends at the last point, and is tangent to the line between the first and second points, and to the line between the penultimate and last points.

    Parameters

    Returns CurveGenerator