Skip to main content

Module noise

Module noise 

Source
Expand description

Coherent noise: the permutation table and the Perlin, simplex, and fractal Brownian motion algorithms, the bodies of the noise nodes and of their native lowerings.

Structs§

PermTable
A permutation table for noise functions. Built from a seed at init time, immutable thereafter. The table is doubled (512 entries) to avoid modular indexing.

Functions§

fbm_1d
1D fractal Brownian motion: octaves layers of Perlin noise, each at twice the frequency and half the amplitude of the last.
fbm_2d
2D fractal Brownian motion over Perlin noise, as fbm_1d.
perlin_1d_algo
Evaluate 1D Perlin noise at a given point.
perlin_2d_algo
Evaluate 2D Perlin noise at a given point.
simplex_2d_algo
Evaluate 2D simplex noise at a given point.