Draw a straigt line between the data points, connecting the ends.
Basis interpolation (also known as B-spline)
Closed Basis interpolation (also known as B-spline)
Catmull-Rom splines are a special case of cardinal splines. These curves are great for animation, because the data points are hit exactly and the curve is smooth.
The meaning of monotone is best illustrated:

Notice that around 0.45, the cubic interpolation dives below the y-coordinate of the next point, whereas the monotone interpolation does not.
More formally, a monotone curve between two points is either increasing (staying flat or becoming higher) or decreasing (staying flat or becoming lower). It cannot first go down and then go up.
Draw a curve monotone in y
Note, does not deal well with coincident points
Interpret a 2D vector as a (angle, radius) pair. The angle is in radians. The first argument is the center.
Convert (angle, radius) pairs to (x, y) coordinates, relative to the given vector.
This function is used by radial and can be used to use radial with different interpolations, for instance.
radialNatural : Vec2 Float -> List (Vec2 Float) -> Path
radialNatural ( x, y ) =
natural << toPolarWithCenter ( x, y )calculate the control points for natural spline interpolation
Draw straight lines between the data points.