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
-
Method Summary
Modifier and TypeMethodDescriptionfloat
noise
(float x) Computes the Perlin noise function value at point x.float
noise
(float x, float y) Computes the Perlin noise function value at the point x, y.float
noise
(float x, float y, float z) Computes the Perlin noise function value at x, y, z.void
noiseDetail
(int lod) void
noiseDetail
(int lod, float falloff) void
noiseSeed
(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)
-