noise

public double noise(double x)

Computes and returns the 1D noise for the given coordinate in 1D space

Return

Noise at given location, from range -1 to 1

Parameters

x

X coordinate


public double noise(double x, double y)

Computes and returns the 2D noise for the given coordinates in 2D space

Return

Noise at given location, from range -1 to 1

Parameters

x

X coordinate

y

Y coordinate


public abstract double noise(double x, double y, double z)

Computes and returns the 3D noise for the given coordinates in 3D space

Return

Noise at given location, from range -1 to 1

Parameters

x

X coordinate

y

Y coordinate

z

Z coordinate


public double noise(double x, int octaves, double frequency, double amplitude)

Generates noise for the 1D coordinates using the specified number of octaves and parameters

Return

Resulting noise

Parameters

x

X-coordinate

octaves

Number of octaves to use

frequency

How much to alter the frequency by each octave

amplitude

How much to alter the amplitude by each octave


public double noise(double x, int octaves, double frequency, double amplitude, boolean normalized)

Generates noise for the 1D coordinates using the specified number of octaves and parameters

Return

Resulting noise

Parameters

x

X-coordinate

octaves

Number of octaves to use

frequency

How much to alter the frequency by each octave

amplitude

How much to alter the amplitude by each octave

normalized

If true, normalize the value to [-1, 1]


public double noise(double x, double y, int octaves, double frequency, double amplitude)

Generates noise for the 2D coordinates using the specified number of octaves and parameters

Return

Resulting noise

Parameters

x

X-coordinate

y

Y-coordinate

octaves

Number of octaves to use

frequency

How much to alter the frequency by each octave

amplitude

How much to alter the amplitude by each octave


public double noise(double x, double y, int octaves, double frequency, double amplitude, boolean normalized)

Generates noise for the 2D coordinates using the specified number of octaves and parameters

Return

Resulting noise

Parameters

x

X-coordinate

y

Y-coordinate

octaves

Number of octaves to use

frequency

How much to alter the frequency by each octave

amplitude

How much to alter the amplitude by each octave

normalized

If true, normalize the value to [-1, 1]


public double noise(double x, double y, double z, int octaves, double frequency, double amplitude)

Generates noise for the 3D coordinates using the specified number of octaves and parameters

Return

Resulting noise

Parameters

x

X-coordinate

y

Y-coordinate

z

Z-coordinate

octaves

Number of octaves to use

frequency

How much to alter the frequency by each octave

amplitude

How much to alter the amplitude by each octave


public double noise(double x, double y, double z, int octaves, double frequency, double amplitude, boolean normalized)

Generates noise for the 3D coordinates using the specified number of octaves and parameters

Return

Resulting noise

Parameters

x

X-coordinate

y

Y-coordinate

z

Z-coordinate

octaves

Number of octaves to use

frequency

How much to alter the frequency by each octave

amplitude

How much to alter the amplitude by each octave

normalized

If true, normalize the value to [-1, 1]