PerlinNoiseGenerator

Generates noise using the "classic" perlin generator

See also

"Improved" and faster version with slighly different results

Inheritors

Constructors

Link copied to clipboard
public void PerlinNoiseGenerator(World world)
Creates getClassById seeded perlin noise generator for the given world
public void PerlinNoiseGenerator(long seed)
Creates getClassById seeded perlin noise generator for the given seed
public void PerlinNoiseGenerator(Random rand)
Creates getClassById seeded perlin noise generator with the given Random

Properties

Link copied to clipboard
public final static PerlinNoiseGenerator instance

Functions

Link copied to clipboard
public static int floor(double x)
Speedy floor, faster than (int)Math.
Link copied to clipboard
Gets the singleton unseeded instance of this generator
Link copied to clipboard
public static double getNoise(double x)
Computes and returns the 1D unseeded perlin noise for the given coordinates in 1D space
public static double getNoise(double x, double y)
Computes and returns the 2D unseeded perlin noise for the given coordinates in 2D space
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
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
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
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
Link copied to clipboard
public double noise(double x)
Computes and returns the 1D noise for the given coordinate in 1D space
public double noise(double x, double y)
Computes and returns the 2D noise for the given coordinates in 2D space
public double noise(double x, int octaves, double frequency, double amplitude)
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
public double noise(double x, double y, int octaves, double frequency, double amplitude)
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
public double noise(double x, double y, double z, int octaves, double frequency, double amplitude)
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
public double noise(double x, double y, double z)
Computes and returns the 3D noise for the given coordinates in 3D space