FastLED 3.9.15
|
void fill_raw_2dnoise16 | ( | uint16_t * | pData, |
int | width, | ||
int | height, | ||
uint8_t | octaves, | ||
q88 | freq88, | ||
fract16 | amplitude, | ||
int | skip, | ||
uint32_t | x, | ||
int32_t | scalex, | ||
uint32_t | y, | ||
int32_t | scaley, | ||
uint32_t | time ) |
Fill a 2D 16-bit buffer with noise, using inoise16()
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. |
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 |
freq88 | starting octave frequency |
amplitude | noise amplitude |
skip | how many noise maps to skip over, incremented recursively per octave |
Definition at line 796 of file noise.cpp.
References fill_raw_2dnoise16(), inoise16(), octaves, scale16(), x, and y.
Referenced by fill_raw_2dnoise16().