2D Amortized Noise Performance Evaluator
A Program to Evaluate the Performance of Amortized Noise
|
Code file for 2D infinite smooth Perlin noise functions. More...
Functions | |
float | infinitesmoothnoise2 (float vec[2]) |
float | InfiniteSmoothPerlinNoise2D (float x, float y, float alpha, float beta, int n) |
Generate a cell of 2D infinite smooth Perlin noise. | |
Infinite Smooth Perlin noise uses MurmurHash3 to get the gradients at integer points and smooths using quintic splines instead of cubic splines.
float infinitesmoothnoise2 | ( | float | vec[2] | ) |
Compute a single octave of infinite smooth 2D noise at a single point.
vec | Point at which to evaluate noise. |
float InfiniteSmoothPerlinNoise2D | ( | 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. |