8    for (
unsigned int i = 0; i < pixelGroup->
GetPixelCount(); i++) {
 
    9        pixelColors[i].
R = pixelColors[i].
R != 0 ? pixelColors[i].
R + 100 : 0;
 
   10        pixelColors[i].
G = pixelColors[i].
G != 0 ? pixelColors[i].
G + 100 : 0;
 
   11        pixelColors[i].
B = pixelColors[i].
B != 0 ? pixelColors[i].
B + 100 : 0;
 
 
Defines the Overflow effect class for adding overflow distortion to pixel groups.
 
Interface for managing and interacting with a collection of pixels.
 
virtual RGBColor * GetColors()=0
Retrieves the array of colors for the pixel group.
 
virtual uint16_t GetPixelCount()=0
Retrieves the total number of pixels in the group.
 
void ApplyEffect(IPixelGroup *pixelGroup) override
Applies the overflow distortion effect to the given pixel group.
 
Overflow(uint8_t pixels)
Constructs an Overflow effect with a specified number of affected pixels.
 
Represents an RGB color and provides methods for manipulation.
 
uint8_t B
Blue component of the color (0-255).
 
uint8_t G
Green component of the color (0-255).
 
uint8_t R
Red component of the color (0-255).