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.
Radially shifts the red, green, and blue channels of the pixels.
FunctionGenerator fGenPhase2
Function generator for the green channel rotation phase.
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.