getNoise

public static double getNoise(double x)

Computes and returns the 1D unseeded perlin noise for the given coordinates in 1D space

Return

Noise at given location, from range -1 to 1

Parameters

x

X coordinate


public static double getNoise(double x, double y)

Computes and returns the 2D unseeded perlin 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 static double getNoise(double x, double y, double z)

Computes and returns the 3D unseeded perlin 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 static double getNoise(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 static double getNoise(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 static double getNoise(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