FastLED 3.9.15
Loading...
Searching...
No Matches

◆ fill_raw_2dnoise8() [3/3]

void fill_raw_2dnoise8 ( uint8_t * pData,
int width,
int height,
uint8_t octaves,
uint16_t x,
int16_t scalex,
uint16_t y,
int16_t scaley,
uint16_t time )

Fill a 2D 8-bit buffer with noise, using inoise8()

Parameters
pDatathe array of data to fill with noise values
widththe width of the 2D buffer
heightthe height of the 2D buffer
octavesthe number of octaves to use for noise. More octaves = more noise.
xx-axis coordinate on noise map (1D)
scalexthe scale (distance) between x points when filling in noise
yy-axis coordinate on noise map (2D)
scaleythe scale (distance) between y points when filling in noise
timethe time position for the noise field

References octaves, x, and y.