Package com.ardorcraft.util
Class SimplexNoise
java.lang.Object
com.ardorcraft.util.SimplexNoise
Simplex Noise in 2D, 3D and 4D. Based on the example code of this paper:
 http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
SimplexNoisepublic SimplexNoise()
 
- 
- 
Method Details- 
noisepublic static double noise(double x, double y) Computes 2D Simplex Noise.- Parameters:
- x- coordinate
- y- coordinate
- Returns:
- noise value in range -1 ... +1.
 
- 
noisepublic static double noise(double x, double y, double z) Computes 3D Simplex Noise.- Parameters:
- x- coordinate
- y- coordinate
- z- coordinate
- Returns:
- noise value in range -1 ... +1
 
- 
noisepublic static double noise(double x, double y, double z, double w) Computes 4D Simplex Noise.- Parameters:
- x- coordinate
- y- coordinate
- z- coordinate
- w- coordinate
- Returns:
- noise value in range -1 ... +1
 
 
-