Bezier interpolates data between 2 points using a number of control points, which determine the degree of the interpolated curve.
interpolate values
vector[]
float -> vector
This implements Bezier interpolation using De Casteljau's algorithm.
an array containg the starting point, the control points, and the end point to use for interpolation
The generated interpolation function
lerp p1 p2 t
vector
float
Vector<float>