Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.18 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.18 KB

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.

#![no_std] support available on nightly with default-features = false.

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