|
FastLED 3.9.15
|
Definition at line 21 of file noisepalette.h.
#include <noisepalette.h>
Inheritance diagram for fl::NoisePalette:
Collaboration diagram for fl::NoisePalette:Public Member Functions | |
| NoisePalette (XYMap xyMap, float fps=60.f) | |
| uint8_t | changeToRandomPalette () |
| void | draw (DrawContext context) override |
| Str | fxName () const override |
| uint8_t | getPalettePreset () const |
| uint8_t | getPalettePresetCount () const |
| bool | hasFixedFrameRate (float *fps) const override |
| void | mapNoiseToLEDsUsingPalette (CRGB *leds) |
| void | setPalette (const CRGBPalette16 &palette, uint16_t speed, uint16_t scale, bool colorLoop) |
| void | setPalettePreset (int paletteIndex) |
| void | setScale (uint16_t scale) |
| void | setSpeed (uint16_t speed) |
Public Member Functions inherited from fl::Fx2d | |
| Fx2d (const XYMap &xyMap) | |
| uint16_t | getHeight () const |
| uint16_t | getWidth () const |
| XYMap & | getXYMap () |
| const XYMap & | getXYMap () const |
| void | setXYMap (const XYMap &xyMap) |
| uint16_t | xyMap (uint16_t x, uint16_t y) const |
Public Member Functions inherited from fl::Fx | |
| Fx (uint16_t numLeds) | |
| uint16_t | getNumLeds () const |
| virtual void | pause (fl::u32 now) |
| virtual void | resume (fl::u32 now) |
Private Member Functions | |
| void | fillnoise8 () |
| void | SetupBlackAndWhiteStripedPalette () |
| void | SetupPurpleAndGreenPalette () |
| void | SetupRandomPalette () |
| uint16_t | XY (uint8_t x, uint8_t y) const |
Private Attributes | |
| bool | colorLoop = 0 |
| CRGBPalette16 | currentPalette |
| int | currentPaletteIndex = 0 |
| uint16_t | height |
| float | mFps = 60.f |
| uint16_t | mX |
| uint16_t | mY |
| uint16_t | mZ |
| fl::vector< uint8_t, fl::allocator_psram< uint8_t > > | noise |
| uint16_t | scale = 0 |
| uint16_t | speed = 0 |
| uint16_t | width |
Additional Inherited Members | |
Public Types inherited from fl::Fx | |
| using | DrawContext = _DrawContext |
Protected Member Functions inherited from fl::Fx | |
| virtual | ~Fx () |
Protected Attributes inherited from fl::Fx2d | |
| XYMap | mXyMap |
Protected Attributes inherited from fl::Fx | |
| uint16_t | mNumLeds |