29 for (
int x = 0;
x < 2; ++
x) {
30 for (
int y = 0;
y < 2; ++
y) {
31 uint16_t value =
at(
x,
y);
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)
void scale(uint8_t scale)
static void Rasterize(const Slice< const Tile2x2_u8 > &tiles, XYRasterU8Sparse *output)
void draw(const CRGB &color, const XYMap &xymap, CRGB *out) const
uint8_t & at(int x, int y)
void rasterize(const vec2< int > &pt, uint8_t value)
Defines the red, green, and blue (RGB) pixel struct.
Implements a simple red square effect for 2D LED grids.
Representation of an RGB pixel (Red, Green, Blue)