gen_noise64
host callCapy
function gen_noise64(index : u64, seed : u64 = 0) u64
Description
gen_noise64() returns deterministic integer noise for an index and seed.
Use the same inputs to reproduce a value.
Parameters
index : deterministic input position
seed : deterministic input seed
Return Values
A deterministic u64 value.
Example
Capy
var value := gen_noise64(u64(1), u64(2)) print(value, "\n")