Skip to content

flexagoon/perlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 100*100 2D array with a random
// Perlin noise.
final noise = perlin2d(width: 10, height: 10, frequency: 10);

The example in example/generate_image.dart creates an image from the generated noise:

noise

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages