Crates.io | perlin2d |
lib.rs | perlin2d |
version | 0.2.6 |
source | src |
created_at | 2021-04-18 19:25:58.049568 |
updated_at | 2021-04-22 10:25:03.56323 |
description | Lightning fast 2D Perlin Noise generator |
homepage | |
repository | https://www.github.com/gp-97/perlin |
max_upload_size | |
id | 386274 |
size | 24,246 |
A small, fast and efficient two dimensional Perlin noise generation library with zero dependencies.
// 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);