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
example patch id
youtube ids (comma seperated)
caniuse query
collections
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
Patches using RandomNumbersArray4_v2
Changelog
created op 2020-01-23 - pandur |