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.
PhaseOffsetY(uint8_t pixels)
Constructs a PhaseOffsetY effect instance.
void ApplyEffect(IPixelGroup *pixelGroup) override
Applies the vertical phase offset effect to the given pixel group.
FunctionGenerator fGenPhase
Function generator for vertical phase offsets.
const uint8_t pixels
Number of pixels to apply the effect to.