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

◆ Caleidoscope5()

void Caleidoscope5 ( )

Definition at line 386 of file funky.cpp.

386 {
387 for (int x = 1; x < 8; x++) {
388 leds[XY(7 - x, 7)] += leds[XY(x, 0)];
389 } // a
390 for (int x = 2; x < 8; x++) {
391 leds[XY(7 - x, 6)] += leds[XY(x, 1)];
392 } // b
393 for (int x = 3; x < 8; x++) {
394 leds[XY(7 - x, 5)] += leds[XY(x, 2)];
395 } // c
396 for (int x = 4; x < 8; x++) {
397 leds[XY(7 - x, 4)] += leds[XY(x, 3)];
398 } // d
399 for (int x = 5; x < 8; x++) {
400 leds[XY(7 - x, 3)] += leds[XY(x, 4)];
401 } // e
402 for (int x = 6; x < 8; x++) {
403 leds[XY(7 - x, 2)] += leds[XY(x, 5)];
404 } // f
405 for (int x = 7; x < 8; x++) {
406 leds[XY(7 - x, 1)] += leds[XY(x, 6)];
407 } // g
408}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
int x
Definition Audio.ino:71
int XY(int x, int y)
Definition funky.cpp:190

References leds, x, and XY().

Referenced by Mandala8(), MSGEQtest7(), and MSGEQtest8().

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