org.jvnet.substance.utils
Class PerlinNoiseGenerator

java.lang.Object
  extended by org.jvnet.substance.utils.PerlinNoiseGenerator

public class PerlinNoiseGenerator
extends java.lang.Object

A class for producing Perlin-inspired noise. The code written by Ken Perlin.

Author:
Ken Perlin http://mrl.nyu.edu/~perlin/

Constructor Summary
PerlinNoiseGenerator()
           
 
Method Summary
static double noise(double x, double y, double z)
          Returns noise for the specified coordinates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerlinNoiseGenerator

public PerlinNoiseGenerator()
Method Detail

noise

public static double noise(double x,
                           double y,
                           double z)
Returns noise for the specified coordinates.

Parameters:
x - X coordinate.
y - Y coordinate.
z - Z coordinate.
Returns:
Noise for the specified coordinates.