Method | Description | |
---|---|---|
Function ( double x ) : double |
1-D Perlin noise function.
|
|
Function2D ( double x, double y ) : double |
2-D Perlin noise function.
|
|
PerlinNoise ( ) : System |
Initializes a new instance of the PerlinNoise class.
|
|
PerlinNoise ( int octaves, double persistence ) : System |
Initializes a new instance of the PerlinNoise class.
|
|
PerlinNoise ( int octaves, double persistence, double initFrequency, double initAmplitude ) : System |
Initializes a new instance of the PerlinNoise class.
|
Method | Description | |
---|---|---|
CosineInterpolate ( double x1, double x2, double a ) : double |
Cosine interpolation.
|
|
Noise ( int x ) : double |
Ordinary noise function
|
|
Noise ( int x, int y ) : double | ||
SmoothedNoise ( double x ) : double |
Smoothed noise.
|
|
SmoothedNoise ( double x, double y ) : double |
public Function2D ( double x, double y ) : double | ||
x | double | x value. |
y | double | y value. |
return | double |
public PerlinNoise ( int octaves, double persistence ) : System | ||
octaves | int | Number of octaves (see |
persistence | double | Persistence value (see |
return | System |
public PerlinNoise ( int octaves, double persistence, double initFrequency, double initAmplitude ) : System | ||
octaves | int | Number of octaves (see |
persistence | double | Persistence value (see |
initFrequency | double | Initial frequency (see |
initAmplitude | double | Initial amplitude (see |
return | System |