public interface Basis
float value(float x, float y, float z) {
return 0; // a flat noise with 0 value everywhere
}
or a more complex perlin noise (ImprovedNoise
Fractals use these functions to generate a more complex result based on some
frequency, roughness, etc values.
Fractals themselves are implementing the Basis interface as well, opening
an infinite range of results.Modifier and Type | Method and Description |
---|---|
Basis |
addModulator(Modulator modulator) |
FloatBuffer |
getBuffer(float sx,
float sy,
float base,
int size) |
float |
getScale() |
void |
init() |
Basis |
setScale(float scale) |
float |
value(float x,
float y,
float z) |
void init()
Basis setScale(float scale)
float getScale()
float value(float x, float y, float z)
FloatBuffer getBuffer(float sx, float sy, float base, int size)
Copyright © 2013. All rights reserved.