Package squidpony.squidmath
Class Noise.InverseLayered2D
java.lang.Object
squidpony.squidmath.Noise.InverseLayered2D
- All Implemented Interfaces:
Noise.Noise2D
- Enclosing class:
- Noise
public static class Noise.InverseLayered2D extends Object implements Noise.Noise2D
-
Field Summary
Fields Modifier and Type Field Description protected Noise.Noise2D
basis
double
frequency
double
lacunarity
A multiplier that affects how much the frequency changes with each layer; the default is 0.5 .protected int
octaves
-
Constructor Summary
Constructors Constructor Description InverseLayered2D()
InverseLayered2D(Noise.Noise2D basis)
InverseLayered2D(Noise.Noise2D basis, int octaves)
InverseLayered2D(Noise.Noise2D basis, int octaves, double frequency)
InverseLayered2D(Noise.Noise2D basis, int octaves, double frequency, double lacunarity)
-
Method Summary
Modifier and Type Method Description double
getNoise(double x, double y)
double
getNoiseWithSeed(double x, double y, long seed)
-
Field Details
-
octaves
-
basis
-
frequency
-
lacunarity
A multiplier that affects how much the frequency changes with each layer; the default is 0.5 .
-
-
Constructor Details
-
Method Details
-
getNoise
- Specified by:
getNoise
in interfaceNoise.Noise2D
-
getNoiseWithSeed
- Specified by:
getNoiseWithSeed
in interfaceNoise.Noise2D
-