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

◆ 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
#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

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: