FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ Caleidoscope1()

void Caleidoscope1 ( )

Definition at line 325 of file funky.cpp.

325 {
326 for (int x = 0; x < WIDTH / 2; x++) {
327 for (int y = 0; y < HEIGHT / 2; y++) {
328 leds[XY(WIDTH - 1 - x, y)] = leds[XY(x, y)]; // copy to A
329 leds[XY(x, HEIGHT - 1 - y)] = leds[XY(x, y)]; // copy to B
330 leds[XY(WIDTH - 1 - x, HEIGHT - 1 - y)] =
331 leds[XY(x, y)]; // copy to C
332 }
333 }
334}
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
int XY(int x, int y)
Definition funky.cpp:190

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

Referenced by CaleidoTest2(), MSGEQtest2(), MSGEQtest7(), and SlowMandala().

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