Skip to main content

tiled_perlin2

Function tiled_perlin2 

Source
pub fn tiled_perlin2(x: f32, y: f32, tile_w: u32, tile_h: u32) -> f32
Expand description

Tiled 2-D Perlin noise — wraps seamlessly at (tile_w, tile_h). Useful for seamless texture generation.