Function nannou::rand::random_f64
source · pub fn random_f64() -> f64
Expand description
A wrapper function around the random
function that avoids the need for specifying a type in
the case that it cannot be inferred. The primary purpose for this is to simplify the random API
for new rust users.
NOTE: This helper function relies on a thread-local RNG and is currently only available with the “std” feature enabled.