19 lines
532 B
Plaintext
19 lines
532 B
Plaintext
:sig
|
|
u32 noise32(u32 index, u32 seed = 0)
|
|
|
|
:params
|
|
index : index position
|
|
seed : seed set (defaults to 0)
|
|
return value : a noise value given the 'index' and 'seed' values.
|
|
|
|
:see
|
|
>noise
|
|
|
|
:content
|
|
Generates a deterministic 32-bit noise value 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
|