public class PerlinNoiseGen1d extends PerlinNoiseGen
VERBOSE
Constructor and Description |
---|
PerlinNoiseGen1d(double f_min,
double f_max,
double persistence,
HashFun hf) |
Modifier and Type | Method and Description |
---|---|
double |
noise(double x)
1D elementary (single-frequency) Perlin noise function.
|
double |
NOISE(double x)
1D combined (multi-frequency) Perlin noise function.
|
getAmplitudes, getFrequencies, getFrequencySteps
public PerlinNoiseGen1d(double f_min, double f_max, double persistence, HashFun hf)
public double NOISE(double x)
x
- Interpolation position.public double noise(double x)
x
- Interpolation position.Copyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)