FastLED 3.9.15
Loading...
Searching...
No Matches

◆ VerticalStream()

void VerticalStream ( byte scale)

Definition at line 472 of file funky.cpp.

472 {
473 for (int x = 0; x < WIDTH; x++) {
474 for (int y = 1; y < HEIGHT; y++) {
475 leds[XY(x, y)] += leds[XY(x, y - 1)];
476 leds[XY(x, y)].nscale8(scale);
477 }
478 }
479 for (int x = 0; x < WIDTH; x++)
480 leds[XY(x, 0)].nscale8(scale);
481}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define WIDTH
Definition Blur2d.ino:9
#define HEIGHT
Definition Blur2d.ino:10
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:82
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:83
int XY(int x, int y)
Definition funky.cpp:190
uint16_t scale
Definition funky.cpp:83

References HEIGHT, leds, scale, WIDTH, x, XY(), and y.

Referenced by MSGEQtest(), MSGEQtest3(), and MSGEQtest6().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: