public class SimplexOctaveGenerator extends Object
| Constructor and Description |
|---|
SimplexOctaveGenerator(int octaves,
double persistence,
int seed)
Creates a new SimplexOctave generator with parameters
|
public SimplexOctaveGenerator(int octaves, double persistence, int seed)
Given the same seed, output will be consistent from one runtime to another.
octaves - number of passes of the generator to use, each one at double the resolutionpersistence - the diminishing value of each successive octave, must be in the range 0 < persistence <= 0.5
to avoid producing values that exceed 1seed - the seed to use for this generator, usually the world seedCopyright © 2016. All rights reserved.