uce/site/doc/pages/gen_noise01.txt

19 lines
529 B
Plaintext

:sig
u32 noise01(u64 index, u64 seed = 0)
:params
index : index position
seed : seed set (defaults to 0)
return value : a noise value from 0 to 1
:see
>noise
:content
Generates a deterministic noise value in the range from `0` to `1` for the given `index` and `seed`.
## Related Concepts
- PHP: no built-in equivalent; closest matches are userland noise or deterministic pseudo-random helpers
- JavaScript / Node.js: no built-in browser equivalent; closest matches are userland noise libraries or deterministic PRNG helpers