# spline

### catmull() <sub>function</sub>

Perform Catmull-Rom spline sampling on an array of 2D points, returning an array of samples.

### bezier() <sub>function</sub>

Perform a Bezier spline (or catmull) sampling on 2D points, returning an array of sampled points.
