|
FastLED 3.9.15
|
| void fl::gfx::blur2d | ( | fl::span< CRGB > | leds, |
| u8 | width, | ||
| u8 | height, | ||
| fract8 | blur_amount, | ||
| const XYMap & | xymap ) |
Two-dimensional blur filter (span version).
Spreads light to 8 XY neighbors.
Total light is NOT entirely conserved, so many repeated calls to 'blur' will also result in the light fading, eventually all the way to black; this is by design so that it can be used to (slowly) clear the LEDs to black.
| leds | span of LEDs to blur |
| width | the width of the matrix |
| height | the height of the matrix |
| blur_amount | the amount of blur to apply |
Definition at line 87 of file blur.cpp.hpp.
References fl::blur_amount, blurColumns(), blurRows(), fl::height, leds, fl::width, and xymap.
Referenced by fl::blur2d(), fl::blur2d(), fl::blur2d(), and blur2d().
Here is the call graph for this function:
Here is the caller graph for this function: