noise 0.5.1 copy "noise: ^0.5.1" to clipboard
noise: ^0.5.1 copied to clipboard

Dart 1 only

Noise algorithms.

Noise #

This package provides algorithms for generating gradient noise. For now it only supports the Simplex noise algorithm and automatic octave summation in 2, 3, and 4 dimensions.

Usage #

To find a single point of 2D simplex noise:

double value = simplex2(1.2, 3.4);

To find a single point of 2D simplex noise with 3 octaves and persistence of 0.5:

var octave = makeOctave2(simplex2, 3, 0.5);
double value = octave(5.6, 7.8);
0
likes
20
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

Noise algorithms.

Repository (GitHub)

License

BSD-2-Clause-Views (license)

More

Packages that depend on noise