|
FastLED 3.9.15
|
Add wave amplitude to existing value at a position.
| x | X coordinate in grid space |
| y | Y coordinate in grid space |
| value | Wave amplitude to add (clamped to max 1.0) |
Adds to existing wave amplitude, useful for creating multiple overlapping disturbances. Result is clamped to maximum of 1.0.
Definition at line 307 of file wave.h.
References fl::min(), mWaveSim, fl::type_rank< T >::value, fl::x, and fl::y.
Here is the call graph for this function: