InterpolateArrays Op
interpolate between two arrays (lerp) - linear interpolation
Summary (oneliner)
interpolates between every number in the array.
for example:
[0,0,0,0] and [1,1,1,1] with a perc
of 0.5 results in [0.5,0.5,0.5,0.5]
Full Name
- Ops.Array.InterpolateArrays
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Interpolate Arrays example
morph between a random array and an array with coordinates of a circle
INPUT PORTS
Exe (Trigger)
Trigger the op
Array 1 (Array)
Array 1 in
Array 2 (Array)
array 2 in
perc (Number)
Interpolation value between both arrays. Range 0-1
OUTPUT PORTS
Next (Trigger)
Trigger out
Result (Array)
The interpolated array out