Two-dimensional blur filter (Canvas version, no XYMap).
Uses direct rectangular indexing for cache-coherent access.
- Parameters
-
| canvas | the canvas to blur in-place |
| blur_amount | alpha8 blur amount |
Definition at line 256 of file blur.cpp.hpp.
256 {
259}
fl::CanvasRGB canvas(fl::span< CRGB >(leds, NUM_LEDS), WIDTH, HEIGHT)
void blurColumns(fl::span< CRGB > leds, fl::u8 width, fl::u8 height, fract8 blur_amount, const XYMap &xyMap) FL_NO_EXCEPT
Perform a blur1d() on every column of a rectangular matrix (span version).
void blurRows(fl::span< CRGB > leds, fl::u8 width, fl::u8 height, fract8 blur_amount, const XYMap &xyMap) FL_NO_EXCEPT
Perform a blur1d() on every row of a rectangular matrix (span version).
References blurColumns(), blurRows(), canvas, and fl::FL_NO_EXCEPT.