RandomNumbersArray_v4 Op

RandomNumbersArray

create a random array of 1 to 4 dimensions


This op lets you create an array of random values. You can choose between 1, 2, 3 or 4 dimensions.

You can set min and max ranges per component!

Example use cases:

  1. Mode AB: Create 2-dimensional coordinates [x1, y1, x2, y2, z1, z2, ...]
  2. Mode ABC: Create 3-dimensional coordinates [x1, y1, z1, x2, y2, z2, ...]
  3. Mode ABC: Create RGB values [r1, g1, b1, r2, g2, b2, ...]
  4. Mode ABCD: Create RGBA values [r1, g1, b1, a1, r2, g2, b2, a2, ...]

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


INPUT PORTS


Num Values (Number:integer )

amount of chunks

Mode index (Number:integer )
Random Seed (Number)

seed for number distribution

Integer (Number:boolean )

Check to set values to integers

Last == First (Number:boolean )

Value Range A

Min A (Number)

minimum value for A

Max A (Number)

maximum value for A

Value Range B

Min B (Number)

minimum value for B

Max B (Number)

maximum value for B

Value Range C

Min C (Number)

minimum value for C

Max C (Number)

maximum value for C

Value Range D

Min D (Number)

minimum value for D

Max D (Number)

maximum value for D

OUTPUT PORTS


Array Out (Array)

Output of the constructed array

Chunks Amount (Number)

number of chunks

Array length (Number)

length of the array


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