[][src]Module stb::perlin

Revised Perlin noise (3D input, 1D output)

Functions

stb_perlin_fbm_noise3
stb_perlin_noise3

This function computes a random value at the coordinate (x,y,z). Adjacent random values are continuous but the noise fluctuates its randomness with period 1, i.e. takes on wholly unrelated values at integer points. Specifically, this implements Ken Perlin's revised noise function from 2002.

stb_perlin_noise3_seed

Same as stb_perlin_noise3, but seed selects from multiple different variations of the noise function. The current implementation only uses the bottom 8 bits of 'seed', but possibly in the future more bits will be used.

stb_perlin_noise3_wrap_nonpow2
stb_perlin_ridge_noise3
stb_perlin_turbulence_noise3