FastLED 3.9.15
|
void fill_raw_2dnoise8 | ( | uint8_t * | pData, |
int | width, | ||
int | height, | ||
uint8_t | octaves, | ||
q44 | freq44, | ||
fract8 | amplitude, | ||
int | skip, | ||
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()
pData | the array of data to fill with noise values |
width | the width of the 2D buffer |
height | the height of the 2D buffer |
octaves | the number of octaves to use for noise. More octaves = more noise. |
freq44 | starting octave frequency |
amplitude | noise amplitude |
skip | how many noise maps to skip over, incremented recursively per octave |
x | x-axis coordinate on noise map (1D) |
scalex | the scale (distance) between x points when filling in noise |
y | y-axis coordinate on noise map (2D) |
scaley | the scale (distance) between y points when filling in noise |
time | the time position for the noise field |
pData | the array of data to fill with noise values |
width | the width of the 2D buffer |
height | the height of the 2D buffer |
octaves | the number of octaves to use for noise. More octaves = more noise. |
freq44 | starting octave frequency |
amplitude | noise amplitude |
skip | how many noise maps to skip over, incremented recursively per octave |
x | x-axis coordinate on noise map (1D) |
scalex | the scale (distance) between x points when filling in noise |
y | y-axis coordinate on noise map (2D) |
scaley | the scale (distance) between y points when filling in noise |
time | the time position for the noise field |
Definition at line 758 of file noise.cpp.
References fill_raw_2dnoise8(), inoise8(), octaves, scale8(), x, and y.
Referenced by fill_2dnoise16(), fill_2dnoise8(), fill_raw_2dnoise8(), and fill_raw_2dnoise8().