Package toxi.math.noise
Class PerlinNoise
java.lang.Object
toxi.math.noise.PerlinNoise
PERLIN NOISE taken from the java port I originally did for PApplet, based on
an implementation by the german demo group farbrausch as used in their demo
"Art": http://www.farb-rausch.de/fr010src.zip
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatnoise(float x) Computes the Perlin noise function value at point x.floatnoise(float x, float y) Computes the Perlin noise function value at the point x, y.floatnoise(float x, float y, float z) Computes the Perlin noise function value at x, y, z.voidnoiseDetail(int lod) voidnoiseDetail(int lod, float falloff) voidnoiseSeed(long what)
-
Constructor Details
-
PerlinNoise
public PerlinNoise()
-
-
Method Details
-
noise
public float noise(float x) Computes the Perlin noise function value at point x. -
noise
public float noise(float x, float y) Computes the Perlin noise function value at the point x, y. -
noise
public float noise(float x, float y, float z) Computes the Perlin noise function value at x, y, z. -
noiseDetail
public void noiseDetail(int lod) -
noiseDetail
public void noiseDetail(int lod, float falloff) -
noiseSeed
public void noiseSeed(long what)
-