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

◆ addGlitter()

void fl::DemoReel100::addGlitter ( fract8 chanceOfGlitter,
CRGB * leds )
inlineprivate

Definition at line 92 of file demoreel100.h.

92 {
93 if (random8() < chanceOfGlitter) {
95 }
96 }
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
uint16_t mNumLeds
Definition fx.h:50
LIB8STATIC uint16_t random16()
Generate a 16-bit random number.
Definition random8.h:54
LIB8STATIC uint8_t random8()
Generate an 8-bit random number.
Definition random8.h:44
@ White
<div style='background:#FFFFFF;width:4em;height:4em;'></div>
Definition crgb.h:635

References leds, fl::Fx::mNumLeds, random16(), random8(), and CRGB::White.

Referenced by rainbowWithGlitter().

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