Crate perlin_noise

Source
Expand description

A simple perlin noise implementation in Rust

§Example

extern crate perlin_noise as perlin;
use perlin::PerlinNoise;

fn main() {
  let perlin = PerlinNoise::new();
  println!("{}",perlin.get(132.2));
  println!("{}",perlin.get2d([12.0,32.0]));
  println!("{}",perlin.get3d([12.0,32.0,25.0]));
}

Structs§

  • Perlin Noise generator that outputs 1/2/3D Perlin noise