|
FastLED 3.9.15
|
| void fill_2dnoise8 | ( | CRGB * | leds, |
| int | width, | ||
| int | height, | ||
| bool | serpentine, | ||
| uint8_t | octaves, | ||
| uint16_t | x, | ||
| int | xscale, | ||
| uint16_t | y, | ||
| int | yscale, | ||
| uint16_t | time, | ||
| uint8_t | hue_octaves, | ||
| uint16_t | hue_x, | ||
| int | hue_xscale, | ||
| uint16_t | hue_y, | ||
| uint16_t | hue_yscale, | ||
| uint16_t | hue_time, | ||
| bool | blend ) |
Fill an LED matrix with random colors, using 8-bit noise.
| leds | pointer to LED array |
| width | the width of the LED matrix |
| height | the height of the LED matrix |
| serpentine | whether the matrix is laid out in a serpentine pattern (alternating left/right directions per row) |
| octaves | the number of octaves to use for value (brightness) noise |
| x | x-axis coordinate on noise map for value (brightness) noise |
| xscale | the scale (distance) between x points when filling in value (brightness) noise |
| y | y-axis coordinate on noise map for value (brightness) noise |
| yscale | the scale (distance) between y points when filling in value (brightness) noise |
| time | the time position for the value (brightness) noise field |
| hue_octaves | the number of octaves to use for color hue noise |
| hue_x | x-axis coordinate on noise map for color hue noise |
| hue_xscale | the scale (distance) between x points when filling in color hue noise |
| hue_y | y-axis coordinate on noise map for color hue noise. |
| hue_yscale | the scale (distance) between y points when filling in color hue noise |
| hue_time | the time position for the color hue noise field |
| blend | if true, will blend the newly generated LED values into the array. If false, will overwrite the array values directly. |
Definition at line 879 of file noise.cpp.
References blend(), FASTLED_STACK_ARRAY, fill_raw_2dnoise8(), hue_octaves, hue_time, leds, fl::memfill(), CRGB::nscale8(), octaves, pos, x, xscale, y, and yscale.
Here is the call graph for this function: