Create procedural noise
Ex. Continous function \(f(x)\) with limited frequency.
- For integer value: \(f(n)=\) pseudo-random, determinic, value
-
-
- ex. Hash Function: float hash(float n) { return fract(sin(n) * 1e4); }
- Interpolate using smooth curve between each integer value (Smooth step, cubic polynomials, etc.)
-
- - Continuous function
- - Looks non-periodic
- - Frequency limited around 1
- Can be computed in 2D, 3D, etc.
- Simple algorithm - ex. in 1D
-
- For a given \(x\), \(n=\)floor\((x)\)
-
- - Evaluate hash function at \(n\), \(n+1\)
-
- ( (\(n\pm i\)) for further sampling)
- - Compute interpolated value \(f(x)\) at position \(x\)