Random

Picks a new random value between a minimum and a maximum each time it is triggered.

Parameters

NameTypeDescription
ValueoutputFloatThe value picked at the last trigger.
TriggerTriggerPicks a new value.
RangeVector 2The lowest and the highest value that can be picked.

The Random operator rolls a die. Every trigger picks a fresh value within the range, with every value equally likely, and the output holds it until the next trigger. Before the first trigger the output is 0.

The picks differ every time the graph runs, so a sequence cannot be replayed.

See also Noise, Sample and Hold.

Keywords: dice, chance, roll, pick, shuffle, unpredictable