|
FastLED 3.9.15
|
Single definition of distance antialiasing LUT This is included in the unity build via fl/gfx/_build.cpp.hpp.
Definition in file distance_lut.cpp.hpp.
Include dependency graph for distance_lut.cpp.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | fl |
| Base definition for an LED controller. | |
| namespace | fl::gfx |
| namespace | fl::gfx::detail |
| ============================================================================ | |
Functions | |
| const fl::u8 distanceAA_LUT[256] | fl::gfx::detail::FL_ALIGN_PROGMEM (256) |
| 256-byte antialiasing lookup table Maps normalized squared distance d²/r_max² (scaled 0..255) to brightness byte Entry i = round(255 * max(0, 1 - sqrt(i/255))) Provides smooth antialiasing fringe for circles and discs | |