Class PerlinNoise

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

public class PerlinNoise extends 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 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)