curveBasis function Curves
Produces 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.
Implementation
Curve curveBasis(Path context) => CurveBasis(context);