public class NoiseUtils
extends java.lang.Object
| Constructor and Description |
|---|
NoiseUtils() |
| Modifier and Type | Method and Description |
|---|---|
static float |
noise1D(float x,
int seed)
Quilez' 1D noise, with some changes to work on the CPU.
|
static float |
octaveNoise1D(float x,
int seed)
Just gets two octaves of
noise1D(float, int); still has a range of -1 to 1. |
public static float noise1D(float x,
int seed)
x - should go up and/or down steadily and by small amounts (less than 1.0, certainly)seed - should stay the same for a given curvepublic static float octaveNoise1D(float x,
int seed)
noise1D(float, int); still has a range of -1 to 1.x - should go up and/or down steadily and by small amounts (less than 1.0, certainly)seed - should stay the same for a given curve