InterpolateArrays Op

InterpolateArrays

interpolate between two arrays (lerp) - linear interpolation


<p>interpolates between every number in the array.</p> <p>for example:</p> <p>[0,0,0,0] and [1,1,1,1] with a <code>perc</code> of 0.5 results in [0.5,0.5,0.5,0.5]</p>


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)

<p>Trigger the op</p>

Array 1 (Array)

<p>Array 1 in</p>

Array 2 (Array)

<p>array 2 in</p>

perc (Number)

<p>Interpolation value between both arrays. Range <code>0-1</code></p>

OUTPUT PORTS


Next (Trigger)

<p>Trigger out</p>

Result (Array)

<p>The interpolated array out</p>


Patches using InterpolateArrays

  • Examples
  • Public
  • My Patches

Changelog


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