Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 326 Bytes

File metadata and controls

15 lines (8 loc) · 326 Bytes

Perlin Noise Library (PerlinNoise) 🌊

Smooth coherent noise for procedural generation.

Methods

PerlinNoise.seed(value)

Sets the seed for noise generation.

PerlinNoise.noise2D(x, y)

Returns a smooth noise value between -1.0 and 1.0.

  • Example: let val = PerlinNoise.noise2D(x * 0.1, y * 0.1);