rand

Function rand 

Source
pub fn rand(props: Option<Value>) -> Node
Expand description

el.rand([props])

Generates a stream of random numbers uniformly distributed on the range [0, 1].

Props:

  • seed: seeds the random number generator