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
int y
Definition Audio.ino:72
#define WIDTH
Definition Audio.ino:33
int x
Definition Audio.ino:71
#define HEIGHT
Definition Audio.ino:32
UISlider scale("Scale", 1.0f, 0.0f, 1.0f, 0.01f)
int XY(int x, int y)
Definition funky.cpp:190

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: