Class ValueNoise

java.lang.Object
squidpony.squidmath.ValueNoise
All Implemented Interfaces:
Noise.Noise1D, Noise.Noise2D, Noise.Noise3D, Noise.Noise4D

public class ValueNoise
extends Object
implements Noise.Noise1D, Noise.Noise2D, Noise.Noise3D, Noise.Noise4D
A low-quality continuous noise generator with strong grid artifacts, this is nonetheless useful as a building block. This implements Noise2D, Noise3D, and Noise4D, and could have more dimensionality support added later. It has much lower quality than ClassicNoise, but is structured similarly in many ways, and should be a little faster.
Note: the valueNoise(int, double, double) methods in this class return results in the range of 0.0 to 1.0, while the getNoise(double, double) and getNoiseWithSeed(double, double, long) methods use the Noise class default range of -1.0 to 1.0.
See Also:
FoamNoise produces high-quality noise by combining a few rotated results of ValueNoise with domain warping., PhantomNoise doesn't use this class directly, but does have its own way of generating arbitrary-dimensional value noise.