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

Detailed Description

Definition at line 112 of file twinklefox.h.

#include <twinklefox.h>

+ Inheritance diagram for fl::TwinkleFox:
+ Collaboration diagram for fl::TwinkleFox:

Public Member Functions

 TwinkleFox (uint16_t num_leds)
 
void chooseNextColorPalette (CRGBPalette16 &pal)
 
void draw (DrawContext context) override
 
fl::Str fxName () const override
 
- Public Member Functions inherited from fl::Fx1d
 Fx1d (uint16_t numLeds)
 
void setXmap (const XMap &xMap)
 
uint16_t xyMap (uint16_t x) const
 
- Public Member Functions inherited from fl::Fx
 Fx (uint16_t numLeds)
 
uint16_t getNumLeds () const
 
virtual bool hasFixedFrameRate (float *fps) const
 
virtual void pause (uint32_t now)
 
virtual void resume (uint32_t now)
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Public Attributes

CRGBPalette16 currentPalette
 
CRGBPalette16 targetPalette
 

Private Member Functions

uint8_t attackDecayWave8 (uint8_t i)
 
CRGB computeOneTwinkle (uint32_t ms, uint8_t salt)
 
void coolLikeIncandescentFunction (CRGB &c, uint8_t phase)
 
void drawTwinkleFox (CRGB *leds)
 

Private Attributes

bool autoSelectBackgroundColor
 
CRGB backgroundColor
 
bool coolLikeIncandescent
 
uint8_t twinkleDensity
 
uint8_t twinkleSpeed
 

Additional Inherited Members

- Public Types inherited from fl::Fx
using DrawContext = _DrawContext
 
- Protected Member Functions inherited from fl::Fx
virtual ~Fx ()
 
- Protected Member Functions inherited from fl::Referent
 Referent ()
 
 Referent (const Referent &)
 
 Referent (Referent &&)
 
virtual ~Referent ()
 
virtual void destroy ()
 
Referentoperator= (const Referent &)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 
- Protected Attributes inherited from fl::Fx1d
XMap mXMap
 
- Protected Attributes inherited from fl::Fx
uint16_t mNumLeds
 

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