FastLED 3.10.8
Loading...
Searching...
No Matches

◆ addGlitter()

void fl::DemoReel100::addGlitter ( fract8 chanceOfGlitter,
fl::span< CRGB > leds )
inlineprivate

Definition at line 90 of file demoreel100.h.

90 {
91 if (random8() < chanceOfGlitter) {
93 }
94 }
CRGB leds[1]
u16 mNumLeds
Definition fx.h:53
LIB8STATIC fl::u16 random16() FL_NO_EXCEPT
Generate a 16-bit random number.
Definition random8.h:63
LIB8STATIC fl::u8 random8() FL_NO_EXCEPT
Generate an 8-bit random number.
Definition random8.h:53
@ White
<div style='background:#FFFFFF;width:4em;height:4em;'></div>
Definition crgb.h:653

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

Referenced by rainbowWithGlitter().

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