toxi.math.noise
Class PerlinNoise

java.lang.Object
  extended by toxi.math.noise.PerlinNoise

public class PerlinNoise
extends java.lang.Object

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
PerlinNoise()
           
 
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
 

Constructor Detail

PerlinNoise

public PerlinNoise()
Method Detail

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)