util
Class Perlin
java.lang.Object
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 |
Perlin
public Perlin(int gridSize,
long seed,
int octaves,
float fade)
fractalSum
public float fractalSum(float x,
float y)
noise
public float noise(float x,
float y)
fade
public static float fade(float n)