InterpolateArrays Op

InterpolateArrays

interpolate between two arrays (lerp) - linear interpolation


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
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


Example Patch Interpolate Arrays example

morph between a random array and an array with coordinates of a circle

Open In Editor

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


Patches using InterpolateArrays

  • Examples
  • Public
  • My Patches

Changelog


Ops.Array.ArrayInterpolate renamed to Ops.Array.InterpolateArraysuser avatarpandur - 2019-06-13 10:41