1 unstable release
0.2.6 | Apr 22, 2021 |
---|---|
0.2.5 |
|
0.2.0 |
|
0.1.0 |
|
#2307 in Algorithms
1,302 downloads per month
Used in 8 crates
(2 directly)
10KB
141 lines
perlin2d
A small, fast and efficient two dimensional Perlin noise generation library with zero dependencies.
Example usage
// For example, to generate a Perlin noise 2D terrain:
use perlin2d::PerlinNoise2D;
let perlin = PerlinNoise2D::new(6, 10.0, 0.5, 1.0, 2.0, (100.0, 100.0), 0.5, 101);
let noise = perlin.get_noise(5.0, 10.0);