Crates.io | jordan4ibanez_perlin_rust |
lib.rs | jordan4ibanez_perlin_rust |
version | 0.0.1 |
source | src |
created_at | 2022-02-17 21:20:55.876375 |
updated_at | 2022-02-17 21:20:55.876375 |
description | A simple perlin noise implementation in Rust |
homepage | |
repository | https://github.com/jordan4ibanez/perlin_rust |
max_upload_size | |
id | 534375 |
size | 11,076 |
A slightly modified version of https://github.com/wantaotao1994/perlin_rust
let perlin = PerlinNoise::new(100.0); //use seed
assert_eq!( perlin.perlin2(0.01,0.01), -0.00000009860109363395148);
assert_eq!( perlin.perlin3(0.01, 0.01, 0.01), 0.01999940916000743);
See cargo doc for more implementations.