Class PerlinNoiseGenerator
java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.PerlinNoiseGenerator
A class for producing Perlin-inspired noise. The code written by Ken Perlin.
- Author:
- Ken Perlin http://mrl.nyu.edu/~perlin/
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublenoise(double x, double y, double z) Returns noise for the specified coordinates.
-
Constructor Details
-
PerlinNoiseGenerator
public PerlinNoiseGenerator()
-
-
Method Details
-
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.
-