beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
RandomNumbersArray4
Ops.Array.RandomNumbersArray4_v2
Generates a random array of numbers in 4-tuples

summary (oneliner)

Typically you would use this to create random positions – [x1, y1, z1, w1, x2, y2, z2, w2 …].
or colors: [r1, g1, b1, a1, r2, g2, b2, a2 …]

doc

issues

youtube id

collections

related ops

Inputs

numValues (integer /Number)

The number of quadruplets to generate


Value Range

Min (Number)

The minimum for the generated values


Max (Number)

The maximum for the generated values


random seed (Number)

When set to 0 the array will be different every time the patch is run, set to another value to have the same output every time


Last == First (boolean /Number)

Set to true to make the first and last number in the array the same, handy for loops


Integer (boolean /Number)

Check to make all values integers (whole numbers)


Outputs

values (Array)

Array out


Tuple Amount (Number)

Amount of tuples


Array length (Number)

Length of Array


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
RandomNumbersArray4 example:


Credits


Changelog


created op
2020-01-23 - pandur

Examples using RandomNumbersArray4_v2

Public Patches using RandomNumbersArray4_v2