Class Noise.QuilezNoise

java.lang.Object
squidpony.squidmath.Noise.QuilezNoise
All Implemented Interfaces:
Noise.Noise1D, Noise.Noise2D
Enclosing class:
Noise

public static class Noise.QuilezNoise
extends Object
implements Noise.Noise1D, Noise.Noise2D
A hybrid between value and gradient noise that may be faster for 1D noise. Every integer value of x given to this will produce a result of 0. This only hashes one coordinate per noise call, unlike most value noise that needs 2 hashes in 1D and many more in higher dimensions. Based on Inigo Quilez' "Basic Noise".