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

◆ plotDot()

void plotDot ( int x,
int y,
uint8_t v )
inline

Definition at line 76 of file Luminova.h.

76 {
78 return;
79 // Additive white (Processing used stroke(W), i.e., white) with gain control
80 leds[fl::XY((fl::u8)x, (fl::u8)y)] += CHSV(0, 0, scale8(v, kPointGain));
81}
CRGB leds[NUM_LEDS]
int y
Definition simple.h:93
int x
Definition simple.h:92
#define WIDTH
Definition advanced.h:36
#define HEIGHT
Definition advanced.h:37
const uint8_t kPointGain
Definition Luminova.h:18
LIB8STATIC_ALWAYS_INLINE uint8_t scale8(uint8_t i, fract8 scale)
Scale one byte by a second one, which is treated as the numerator of a fraction whose denominator is ...
Definition scale8.h:44
unsigned char u8
Definition int.h:17
fl::u16 XY(fl::u8 x, fl::u8 y)
Definition blur.cpp:22
Representation of an HSV pixel (hue, saturation, value (aka brightness)).
Definition hsv.h:15

References HEIGHT, kPointGain, leds, scale8(), WIDTH, x, fl::XY(), and y.

Referenced by plotSoftDot().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: