FastLED 3.7.8
Loading...
Searching...
No Matches
Noise Functions

Detailed Description

Functions to generate and fill arrays with noise.

These functions use Perlin noise as the noise generation algorithm.

Topics

 Noise Fill Functions
 Functions to fill a buffer with noise data.
 
 Noise Generation Functions
 Functions to generate noise.
 

32 bit simplex noise functions

uint16_t snoise16 (uint32_t x)
 
uint16_t snoise16 (uint32_t x, uint32_t y)
 
uint16_t snoise16 (uint32_t x, uint32_t y, uint32_t z)
 
uint16_t snoise16 (uint32_t x, uint32_t y, uint32_t z, uint32_t w)
 

Function Documentation

◆ snoise16() [1/4]

uint16_t snoise16 ( uint32_t x)

32 bit, fixed point implementation of simplex noise functions. The inputs are 20.12 fixed-point value. The result covers the full range of a uint16_t averaging around 32768.

Definition at line 99 of file simplex.cpp.

◆ snoise16() [2/4]

uint16_t snoise16 ( uint32_t x,
uint32_t y )

Definition at line 122 of file simplex.cpp.

◆ snoise16() [3/4]

uint16_t snoise16 ( uint32_t x,
uint32_t y,
uint32_t z )

Definition at line 189 of file simplex.cpp.

◆ snoise16() [4/4]

uint16_t snoise16 ( uint32_t x,
uint32_t y,
uint32_t z,
uint32_t w )

Definition at line 321 of file simplex.cpp.