Implements fl::WaveCrgbMap.
Definition at line 34 of file wave.h.
35 {
36 const fl::u32 width =
waveSim.getWidth();
37 const fl::u32 height =
waveSim.getHeight();
38 for (fl::u32
y = 0;
y < height;
y++) {
39 for (fl::u32
x = 0;
x < width;
x++) {
42 leds[idx] = CRGB(value8, value8, value8);
43 }
44 }
45 }
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)
WaveSimulation1D waveSim(NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)
References leds, waveSim(), x, xymap, and y.