Codebox Operators splineinterp

splineinterp

Catmull-Rom spline interpolation

splineinterp(a, w, x, y, z): out1

Arguments:

Arguments

NameTypeDefaultDescription
anumber

In the leftmost inlet, this is the input value to be interpolated.

wnumber

Set's the value for the 'w' control point. This is the leftsmost value of the spline.

xnumber

Set's the value for the 'x' control point. This is the second value of the spline. The output curve is the segment between the middle two points (x and y).

ynumber

Set's the value for the 'y' control point. This is the third value of the spline. The output curve is the segment between the middle two points (x and y).

znumber

Set's the value for the 'z' control point. This is the rightmost most value of the spline.

Returns

NameTypeDescription
out1number

The output curve is the segment between the middle two points (x and y).