Defines the base Effect class for applying transformations or effects to pixel groups.
Provides a generator for common mathematical wave functions.
Provides a collection of mathematical utility functions and constants.
Effect()
Default constructor for the Effect class.
A class to generate various waveform functions with customizable parameters.
@ Sawtooth
Sawtooth waveform.
Interface for managing and interacting with a collection of pixels.
FunctionGenerator fGenPhase2
Function generator for the green channel rotation phase.
ShiftR(uint8_t pixels)
Constructs a ShiftR effect instance.
void ApplyEffect(IPixelGroup *pixelGroup) override
Applies the radial shift effect to the given pixel group.
FunctionGenerator fGenRotation
Function generator for the overall rotation.
FunctionGenerator fGenPhase1
Function generator for the red channel rotation phase.
const uint8_t pixels
Number of pixels to consider for the radial effect.