FastLED 3.9.15
Loading...
Searching...
No Matches
fl::DemoReel100 Class Reference

Detailed Description

Definition at line 18 of file demoreel100.h.

#include <demoreel100.h>

+ Inheritance diagram for fl::DemoReel100:
+ Collaboration diagram for fl::DemoReel100:

Public Member Functions

 DemoReel100 (u16 num_leds)
 
void draw (DrawContext context) override
 
fl::string fxName () const override
 
- Public Member Functions inherited from fl::Fx1d
 Fx1d (u16 numLeds)
 
void setXmap (const XMap &xMap)
 
u16 xyMap (u16 x) const
 
- Public Member Functions inherited from fl::Fx
 Fx (u16 numLeds)
 
u16 getNumLeds () const
 
virtual bool hasFixedFrameRate (float *fps) const
 
virtual void pause (fl::u32 now)
 
virtual void resume (fl::u32 now)
 

Private Member Functions

void addGlitter (fract8 chanceOfGlitter, fl::span< CRGB > leds)
 
void bpm (fl::span< CRGB > leds)
 
void confetti (fl::span< CRGB > leds)
 
void juggle (fl::span< CRGB > leds)
 
void nextPattern ()
 
void rainbow (fl::span< CRGB > leds)
 
void rainbowWithGlitter (fl::span< CRGB > leds)
 
void runPattern (fl::span< CRGB > leds)
 
void sinelon (fl::span< CRGB > leds)
 

Private Attributes

u8 current_pattern_number = 0
 
u8 hue = 0
 
unsigned long start_time = 0
 

Additional Inherited Members

- Public Types inherited from fl::Fx
using DrawContext = ::fl::DrawContext
 
- Protected Member Functions inherited from fl::Fx
virtual ~Fx () FL_NOEXCEPT
 
- Protected Attributes inherited from fl::Fx1d
XMap mXMap
 
- Protected Attributes inherited from fl::Fx
u16 mNumLeds
 

The documentation for this class was generated from the following file: