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

◆ fill_raw_2dnoise8() [2/3]

void fill_raw_2dnoise8 ( fl::u8 * pData,
int width,
int height,
fl::u8 octaves,
fl::u16 x,
fl::i16 scalex,
fl::u16 y,
fl::i16 scaley,
fl::u16 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.