FastLED 3.9.15
Loading...
Searching...
No Matches
distance_lut.h File Reference
#include "fl/stl/stdint.h"
#include "fastled_progmem.h"
+ Include dependency graph for distance_lut.h:
+ 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
 ============================================================================
 

Variables

const fl::u8 fl::gfx::detail::distanceAA_LUT [256]
 Distance 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))) PROGMEM on embedded platforms, regular array on host.