util
Class Perlin

java.lang.Object
  extended by util.Perlin

public class Perlin
extends java.lang.Object

Author:
Shannon Smith

Constructor Summary
Perlin(int gridSize, long seed, int octaves, float fade)
           
 
Method Summary
static float fade(float n)
           
 float fractalSum(float x, float y)
           
 float noise(float x, float y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Perlin

public Perlin(int gridSize,
              long seed,
              int octaves,
              float fade)
Method Detail

fractalSum

public float fractalSum(float x,
                        float y)

noise

public float noise(float x,
                   float y)

fade

public static float fade(float n)