util-noise
A set of deterministic, pseudo-random noise generator functions.
For each function, noise generated at a given coordinate with a given seed will result in the same value every time.
Index
Functions
Functions
- Noise1D
-
float Noise1D( float2 coord, float iseed)
Description
Generate noise from a 2D coordinate and a seed.
The resulting value will be in the range[0..1)
.Called by tracking-instability.
Parameters
coord
-
Type:
float
The 1D coordinate to generate noise at.
iseed
-
Type:
float
A seed value for the noise.
Return Value
Type: float
A noise value in the range
[0..1)
. - Noise2D
-
float Noise2D( float2 coord, float iseed)
Description
Generate noise from a 2D coordinate and a seed.
The resulting value will be in the range[0..1)
.Called by svideo-to-rgb, composite-to-svideo, and
Noise1D
.Parameters
coord
-
Type:
float2
The 2D coordinate to generate noise at.
iseed
-
Type:
float
A seed value for the noise.
Return Value
Type: float
A noise value in the range
[0..1)
.