SNoiseGenerator

The noise generator. somehow impelments OpenSimplexNoise - https://gist.github.com/KdotJPG/b1270127455a94ac5d19 and http://uniblock.tumblr.com/

Disabled Default Constructor

A disabled default is present on this object. To use it, use one of the other constructors or a factory function.

Constructors

this
this(long seed)

Initializes a generator from a long seed

this
this(Seed seed)

Initializes a generator from a Seed struct

this
this(short[256] perm)

Initializes a generator from a given permutation array

Members

Enums

DEFAULT_SEED
enum DEFAULT_SEED

(Default) Values for noise generation

Functions

noise2D
double noise2D(double x, double y)
double noise2D(const double[2] p)

2D OpenSimplexNoise

noise3D
double noise3D(double x, double y, double z)
double noise3D(const double[3] p)

3D OpenSimplexNoise

noise4D
double noise4D(double x, double y, double z, double w)
double noise4D(const double[4] p)

3D OpenSimplexNoise

Meta