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

Detailed Description

Examples
FxPacifica.ino.

Definition at line 13 of file pacifica.h.

#include <pacifica.h>

+ Inheritance diagram for fl::Pacifica:
+ Collaboration diagram for fl::Pacifica:

Public Member Functions

 Pacifica (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 pacifica_add_whitecaps (fl::span< CRGB > leds)
 
void pacifica_deepen_colors (fl::span< CRGB > leds)
 
void pacifica_one_layer (fl::span< CRGB > leds, CRGBPalette16 &p, u16 cistart, u16 wavescale, u8 bri, u16 ioff)
 

Private Attributes

CRGBPalette16 pacifica_palette_1
 
CRGBPalette16 pacifica_palette_2
 
CRGBPalette16 pacifica_palette_3
 
u16 sCIStart1 = 0
 
u16 sCIStart2 = 0
 
u16 sCIStart3 = 0
 
u16 sCIStart4 = 0
 
fl::u32 sLastms = 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: