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