| 63 | } |
| 64 | |
| 65 | void Luminova::plotDot(fl::span<CRGB> leds, int x, int y, u8 v) const { |
| 66 | if (!mXyMap.has(x, y)) { |
| 67 | return; |
| 68 | } |
| 69 | const u16 idx = mXyMap.mapToIndex(static_cast<u16>(x), static_cast<u16>(y)); |
| 70 | leds[idx] += CHSV(0, 0, scale8(v, mParams.point_gain)); |
| 71 | } |
| 72 | |
| 73 | void Luminova::plotSoftDot(fl::span<CRGB> leds, float fx, float fy, float s) const { |
| 74 | // Map s (decays from ~3) to a pixel radius 1..3 |
nothing calls this directly
no test coverage detected