RandomNumbersArray_v4 Op
create a random array of 1 to 4 dimensions
Summary (oneliner)
<p>This op lets you create an array of random values. You can choose between 1, 2, 3 or 4 dimensions. </p> <p>You can set min and max ranges per component!</p> <p>Example use cases:</p> <ol> <li>Mode AB: Create 2-dimensional coordinates <code>[x1, y1, x2, y2, z1, z2, ...]</code></li> <li>Mode ABC: Create 3-dimensional coordinates <code>[x1, y1, z1, x2, y2, z2, ...]</code></li> <li>Mode ABC: Create RGB values <code>[r1, g1, b1, r2, g2, b2, ...]</code></li> <li>Mode ABCD: Create RGBA values <code>[r1, g1, b1, a1, r2, g2, b2, a2, ...]</code></li> </ol> <p>Random seed of 0 will be different every page load</p>
- Ops.Array.RandomNumbersArray_v4
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch RandomArrays example
INPUT PORTS
<i>integer</i>
)<p>amount of chunks </p>
<i>integer</i>
)<p>seed for number distribution</p>
<i>boolean</i>
)<p>Check to set values to integers</p>
<i>boolean</i>
)Value Range A
<p>minimum value for A</p>
<p>maximum value for A</p>
Value Range B
<p>minimum value for B</p>
<p>maximum value for B</p>
Value Range C
<p>minimum value for C</p>
<p>maximum value for C</p>
Value Range D
<p>minimum value for D</p>
<p>maximum value for D</p>
OUTPUT PORTS
<p>Output of the constructed array</p>
<p>number of chunks </p>
<p>length of the array</p>