Codebox Operators cosineinterp

cosineinterp

Cubic interpolation

cosineinterp(frac, x, y): out1

Arguments:

Arguments

NameTypeDefaultDescription
fracnumber

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

xnumber

Set's the value for the 'x' control point. This is the second value of cosineinterp.

ynumber

Set's the value for the 'y' control point. This is the third value of cosineinterp.

Returns

NameTypeDescription
out1number

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