Array3RandomSelection Op

Array3RandomSelection

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.


Edit Documentation

Full Name
  • Ops.Array.Array3RandomSelection
Visibility
  • Core Op - Official cables op
License
  • MIT
Author


 

INPUT PORTS


Array (Array)

The array in to extract random values from

Elements (Number:integer )

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.

OUTPUT PORTS


Result (Array)

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

Total points (Number)
Array length (Number)

Patches using Array3RandomSelection

  • Examples
  • Public
  • My Patches

Changelog


Ops.Array.Array3xRandomSelection renamed to Ops.Array.Array3RandomSelectionuser avatarpandur - 2019-06-21 14:19
bugfixfixed random seed behaviouruser avatarpandur - 2022-12-14 17:16