toxi.math.noise
Class PerlinNoise
java.lang.Object
toxi.math.noise.PerlinNoise
public class PerlinNoise
- extends java.lang.Object
Method Summary |
float |
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerlinNoise
public PerlinNoise()
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)