Array3RandomSelection Op

Array3RandomSelection

extract definable amount of random xyz points from an array


<p>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.</p>


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


INPUT PORTS


Array (Array)

<p>The array in to extract random values from </p>

Elements (Number:

<i>integer</i>

)

<p>How many xyz elements to extract</p>

Seed (Number)

<p>Random number seed. 0 is always different on a reload. Set to a number to keep a fixed seed.</p>

OUTPUT PORTS


Result (Array)

<p>A new array with a length determined by the elements paramater.</p>

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