2D Amortized Noise Performance Evaluator
A Program to Evaluate the Performance of Amortized Noise
|
Header file for 2D Perlin noise functions. More...
Go to the source code of this file.
Functions | |
void | initPerlin2D () |
Initialize gradient and permutation tables. | |
float | PerlinNoise2D (float, float, float, float, int) |
Generate a cell of 2D Perlin noise. | |
float PerlinNoise2D | ( | float | x, |
float | y, | ||
float | alpha, | ||
float | beta, | ||
int | n | ||
) |
Compute turbulence, also known as 1/f noise.
x | X coordinate. |
y | Y coordinate. |
alpha | Persistence. |
beta | Lacunarity. |
n | Side of square grid. |