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