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

Array3RandomSelection Op

Ops.Array.Array3RandomSelection


Array3RandomSelection
Collections:random  
Namespace: Ops.Array

Op author: pandur

extract definable amount of random xyz points from an array


This op works with a xyz array.
Setting elements to 5 on an array with 60 values will extract random 5 xyz values from the array.
Seed changes which numbers are extracted.



Inputs

Array (Array)

The array in to extract random values from

Elements (integer /Number)

How many xyz elements to extract

Seed (Number)

Random number seed. 0 is always different on a reload. Set to a number to keep a fixed seed.

Outputs

Result (Array)

A new array with a length determined by the elements paramater.

Total points (Number)
Array length (Number)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Array3xRandomSelection

Open Example In Editor

Patches using Array3RandomSelection

Changelog


Ops.Array.Array3xRandomSelection renamed to Ops.Array.Array3RandomSelection
2019-06-21 - pandur
bugfixfixed random seed behaviour
2022-12-14 - pandur