Class PerlinNoiseGenerator
java.lang.Object
org.pushingpixels.substance.internal.utils.PerlinNoiseGenerator
A class for producing Perlin-inspired noise. The code written by Ken Perlin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
noise
(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.
-