Implements fl::WaveCrgbMap.
Definition at line 34 of file wave.h.
35 {
36 const uint32_t width =
waveSim.getWidth();
37 const uint32_t height =
waveSim.getHeight();
38 for (uint32_t
y = 0;
y < height;
y++) {
39 for (uint32_t
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.