16#include "../../Utils/Signals/FunctionGenerator.h"
17#include "../../Utils/Math/Mathematics.h"
Defines the base Effect class for applying transformations or effects to pixel groups.
Abstract base class for applying visual effects to pixel groups.
A class to generate various waveform functions with customizable parameters.
@ Sawtooth
Sawtooth waveform.
Interface for managing and interacting with a collection of pixels.
Applies rotational phase offsets to pixel groups.
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.
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.