Defines the base Effect class for applying transformations or effects to pixel groups.
Provides a collection of mathematical utility functions and constants.
Effect()
Default constructor for the Effect class.
GlitchX(uint8_t pixels)
Constructs a GlitchX effect with a specified number of pixels.
void ApplyEffect(IPixelGroup *pixelGroup) override
Applies the glitch effect along the X-axis to the given pixel group.
const uint8_t pixels
The number of pixels to distort.
Interface for managing and interacting with a collection of pixels.