perlin 1.1.0
perlin: ^1.1.0 copied to clipboard
An implementation of Perlin noise in dart.
Perlin #
An implementation of the Perlin Noise algorithm in Dart.
Exposes a single function - perlin2d, which takes the dimensions and the
frequency of the noise as well as an optional seed for the RNG.
// This will generate a 30*30 2D array with a random
// Perlin noise.
final noise = perlin2d(width: 3, height: 3, frequency: 10);