Package squidpony.squidmath
Class Noise.InverseLayered4D
java.lang.Object
squidpony.squidmath.Noise.InverseLayered4D
- All Implemented Interfaces:
Noise.Noise4D
- Enclosing class:
- Noise
public static class Noise.InverseLayered4D extends Object implements Noise.Noise4D
-
Field Summary
Fields Modifier and Type Field Description protected Noise.Noise4D
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 InverseLayered4D()
InverseLayered4D(Noise.Noise4D basis)
InverseLayered4D(Noise.Noise4D basis, int octaves)
InverseLayered4D(Noise.Noise4D basis, int octaves, double frequency)
InverseLayered4D(Noise.Noise4D basis, int octaves, double frequency, double lacunarity)
-
Method Summary
Modifier and Type Method Description double
getNoise(double x, double y, double z, double w)
double
getNoiseWithSeed(double x, double y, double z, double w, 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.Noise4D
-
getNoiseWithSeed
- Specified by:
getNoiseWithSeed
in interfaceNoise.Noise4D
-