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