FastLED 3.9.15
Loading...
Searching...
No Matches

◆ WaveFxArgs() [2/3]

fl::WaveFxArgs::WaveFxArgs ( SuperSample factor,
bool half_duplex,
bool auto_updates,
float speed,
float dampening,
WaveCrgbMapPtr crgbMap )
inline

Construct with all parameters.

Parameters
factorSupersampling quality (higher = smoother but slower)
half_duplexIf true, waves only go positive (no negative values)
auto_updatesIf true, automatically advance simulation each frame
speedWave propagation speed (0.0 to 1.0, typical: 0.1-0.3)
dampeningEnergy loss rate (higher = waves die faster, typical: 3-10)
crgbMapCustom color mapper (nullptr uses default grayscale)

Definition at line 112 of file wave.h.

float speed
Wave propagation speed (0.0-1.0, typical: 0.1-0.3)
Definition wave.h:126
WaveCrgbMapPtr crgbMap
Custom color mapper (nullptr uses default grayscale)
Definition wave.h:134
bool auto_updates
If true, simulation advances automatically in draw()
Definition wave.h:124
SuperSample factor
Supersampling quality (SUPER_SAMPLE_2X recommended for balance)
Definition wave.h:120
float dampening
Energy dampening factor (higher = faster decay, typical: 3-10)
Definition wave.h:128
bool half_duplex
If true, constrains waves to positive values only.
Definition wave.h:122

References WaveFxArgs(), auto_updates, crgbMap, dampening, factor, half_duplex, and speed.

+ Here is the call graph for this function: