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

◆ fill_raw_2dnoise16into8() [2/2]

void fill_raw_2dnoise16into8 ( uint8_t * pData,
int width,
int height,
uint8_t octaves,
uint32_t x,
int32_t scalex,
uint32_t y,
int32_t scaley,
uint32_t time )

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

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 blend(), FASTLED_NAMESPACE_END, hue_octaves, hue_scale, hue_time, leds, octaves, scale, x, xscale, y, and yscale.

+ Here is the call graph for this function: