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