FastLED 3.9.15
Loading...
Searching...
No Matches
FxWater.h File Reference
#include <FastLED.h>
#include "Arduino.h"
#include "fl/math/xymap.h"
+ Include dependency graph for FxWater.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HEIGHT   32
 
#define NUM_LEDS   ((WIDTH) * (HEIGHT))
 
#define WATERHEIGHT   (HEIGHT + 2)
 
#define WATERWIDTH   (WIDTH + 2)
 
#define WIDTH   32
 
#define WU_WEIGHT(a, b)
 

Functions

void loop ()
 
fl::CRGB MyColorFromPaletteExtended (const fl::CRGBPalette16 &pal, uint16_t index, uint8_t brightness, TBlendType blendType)
 
void process_water (uint8_t *src, uint8_t *dst)
 
void setup ()
 
void wu_water (uint8_t *const buf, uint16_t x, uint16_t y, uint8_t bright)
 
uint16_t XY (uint8_t x, uint8_t y)
 
fl::XYMap xyMap (WIDTH, HEIGHT, false)
 

Variables

fl::CRGB leds [NUM_LEDS]
 
uint8_t water [2][WATERWIDTH *WATERHEIGHT]