RandomNumbersArray_v4 Op

RandomNumbersArray

create a random array of 1 to 4 dimensions


<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>


Full Name
  • Ops.Array.RandomNumbersArray_v4
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


Num Values (Number:

<i>integer</i>

)

<p>amount of chunks </p>

Mode index (Number:

<i>integer</i>

)

Random Seed (Number)

<p>seed for number distribution</p>

Integer (Number:

<i>boolean</i>

)

<p>Check to set values to integers</p>

Last == First (Number:

<i>boolean</i>

)

Value Range A

Min A (Number)

<p>minimum value for A</p>

Max A (Number)

<p>maximum value for A</p>

Value Range B

Min B (Number)

<p>minimum value for B</p>

Max B (Number)

<p>maximum value for B</p>

Value Range C

Min C (Number)

<p>minimum value for C</p>

Max C (Number)

<p>maximum value for C</p>

Value Range D

Min D (Number)

<p>minimum value for D</p>

Max D (Number)

<p>maximum value for D</p>

OUTPUT PORTS


Array Out (Array)

<p>Output of the constructed array</p>

Chunks Amount (Number)

<p>number of chunks </p>

Array length (Number)

<p>length of the array</p>


Patches using RandomNumbersArray_v4

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarsimod - 2019-11-19 11:43
Ops.User.cables.RandomArraysXX renamed to Ops.Array.RandomArraysuser avatarsimod - 2019-11-19 11:44
renameOps.Array.RandomArrays renamed to Ops.Array.RandomNumbersArray_v4user avatarpandur - 2023-06-05 11:56