FastLED 3.9.15
Loading...
Searching...
No Matches

◆ plotDot()

void fl::Luminova::plotDot ( fl::span< CRGB > leds,
int x,
int y,
u8 v ) const
private

Definition at line 65 of file luminova.cpp.hpp.

65 {
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}
fl::CRGB leds[NUM_LEDS]
XYMap mXyMap
Definition fx2d.h:30
Params mParams
Definition luminova.h:58
fl::hsv8 CHSV
Definition chsv.h:11

References leds, mParams, fl::Fx2d::mXyMap, fl::x, and fl::y.

Referenced by plotSoftDot().

+ Here is the caller graph for this function: