Implements fl::WaveCrgbMap.
Definition at line 49 of file wave.cpp.
50 {
52 const fl::u32 width =
waveSim.getWidth();
53 const fl::u32 height =
waveSim.getHeight();
54 for (fl::u32
y = 0;
y < height;
y++) {
55 for (fl::u32
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.