OpenSimplex noise in rust Crates.io

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.

Examples:

Usage:

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)

Instalation

Just add this line to Cargo.toml file in your Rust project

toml [dependencies] opensimplex_noise_rs = "0.1.0"

Code Examples:

License

This code is under the same "license" as Kurt's OpenSimplex - the public domain "unlicense."