nrandom VEX function

The nrandom() functions are non-deterministic random number generators for VEX.

Contexts: image3d, chop, cop, pop, sop, surface, displace, fog, light, shadow, photon, cvex

  1. float nrandom()

  2. vector nrandom()

  3. vector4 nrandom()

  4. float nrandom(float )

The nrandom() functions are non-deterministic random number generators for VEX. Numbers generated will be between 0 and 1. These random generators will generate the same sequence of random numbers if called in precisely the same order. However, there is no seed involved so it is not possible to reproduce the same random number or sequence multiple times.

You can optionally specify a string argument to choose the random number generation method. The string may be one of: