Defines the 8-bit red, green, and blue (RGB) pixel type in the fl namespace.
CRGB sampleNearest(const CRGB *grid, const XYMap &xyMap, float x, float y)
Nearest-neighbor sample from a 2D CRGB grid.
CRGB sample(const CRGB *grid, const XYMap &xyMap, float x, float y, SampleMode mode)
Sample a pixel from a 2D CRGB grid at floating-point coordinates.
SampleMode
Interpolation mode for sampling a 2D grid.
@ SAMPLE_BILINEAR
Bilinear interpolation (smooth)
@ SAMPLE_NEAREST
Nearest neighbor (fast, pixelated)
CRGB sampleBilinear(const CRGB *grid, const XYMap &xyMap, float x, float y)
Bilinear interpolation sample from a 2D CRGB grid.
Base definition for an LED controller.