Crate perlin2d[−][src]
Lightning fast two dimensional perlin noise generation library using prime numbers. It is small and efficient with zero dependencies.
Example
// For example, to generate a Perlin noise 2D terrain:
use perlin2d::PerlinNoise2D;
let perlin_obj = PerlinNoise2D::new(6, 10.0, 0.5, 1.0, 2.0, (100.0, 100.0), 101);
let noise = perlin_obj.get_noise(5.0, 10.0);
Structs
PerlinNoise2D | Perlin Noise struct |