Skip to content

gp-97/perlin2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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