1 unstable release

0.2.6 Apr 22, 2021
0.2.5 Apr 22, 2021
0.2.0 Apr 18, 2021
0.1.0 Apr 18, 2021

#2203 in Algorithms

Download history 160/week @ 2024-07-01 151/week @ 2024-07-08 286/week @ 2024-07-15 277/week @ 2024-07-22 295/week @ 2024-07-29 334/week @ 2024-08-05 412/week @ 2024-08-12 214/week @ 2024-08-19 319/week @ 2024-08-26 303/week @ 2024-09-02 233/week @ 2024-09-09 310/week @ 2024-09-16 363/week @ 2024-09-23 285/week @ 2024-09-30 112/week @ 2024-10-07 244/week @ 2024-10-14

1,036 downloads per month
Used in 8 crates (2 directly)

Apache-2.0

10KB
141 lines

perlin2d

GitHub

Status GitHub Issues GitHub Pull Requests Crates.io (recent) Github Workflow


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);

No runtime deps