Implements fl::WaveCrgbMap.
Definition at line 49 of file wave.cpp.
50 {
52 const uint32_t width =
waveSim.getWidth();
53 const uint32_t height =
waveSim.getHeight();
54 for (uint32_t
y = 0;
y < height;
y++) {
55 for (uint32_t
x = 0;
x < width;
x++) {
58 batch.push(idx, value8);
59 }
60 }
61 batch.flush();
62}
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)
WaveSimulation1D waveSim(NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)
References leds, mGradient, waveSim, x, xymap, and y.