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 second phase offset.
void ApplyEffect(IPixelGroup *pixelGroup) override
Applies the rotational phase offset effect to the given pixel group.
PhaseOffsetR(uint8_t pixels)
Constructs a PhaseOffsetR effect instance.
FunctionGenerator fGenRotation
Function generator for rotation transformations.
FunctionGenerator fGenPhase1
Function generator for the first phase offset.
const uint8_t pixels
Number of pixels to apply the effect to.