cables is under heavy development.
There might be one or another bug, please let us know about it!

There is a newer version of this op!

This version will not receive any updates. It is recommended to use a newer version.

Current version: 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 …]



youtube id


related ops


numValues (integer /Number)

The number of value 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)


values (Array)

Array out

Tuple Amount (Number)

Array length (Number)

total length of array

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
RandomNumbersArray4 example:



Ops.User.simod.RandomNumbersArray4 renamed to Ops.Array.RandomNumbersArray4
2019-11-13 - simod

Examples using RandomNumbersArray4

Public Patches using RandomNumbersArray4