curveCatmullRom function Curves
Produces a cubic Catmull–Rom spline using the specified control points and the parameter alpha (see curveCatmullRomAlpha), which defaults to 0.5, as proposed by Yuksel et al. in On the Parameterization of Catmull–Rom Curves, with one-sided differences used for the first and last piece.
Implementation
Curve curveCatmullRom(Path context) => curveCatmullRomAlpha(0.5)(context);