OpenSimplex noise is a random noise algorithm by Kurt Spencer, made as a patent-free alternative to Perlin and Simplex noise.
This Rust port currently supports 2D and 3D noise.
rust
let noise_generator = OpenSimplexNoise::new(Some(883_279_212_983_182_319)); // if not provided, default seed is equal to 0
let scale = 0.044;
let value = noise_generator.eval_2d(x * scale, y * scale); // generates value in range (-1, 1)
toml
[dependencies]
opensimplex_noise_rs = "0.2.1"