#include <animation.h>
A rainbow wave using a point as origin.
- Return values
-
float | rainbow hue in [0, 360] |
- Parameters
-
float | spatial period of the wave |
time | rainbow time period |
point | position of the origin point |
- Examples
- pixled/animation/blink.cpp, and pixled/animation/sequence.cpp.
◆ operator()()
float pixled::animation::RadialRainbowWave::operator() |
( |
led |
l, |
|
|
time |
t |
|
) |
| const |
|
overridevirtual |
Computes the value of this Function for led l
at time t
.
- Parameters
-
- Returns
- Result of this Function, evaluated on led
l
at time t
. Notice that evaluating a function usually requires the recursive evaluation of other Functions (that are actually parameters of this function) until a Constant is reached for example.
Implements pixled::base::Function< R >.
The documentation for this class was generated from the following files:
- src/pixled/animation/animation.h
- src/pixled/animation/animation.cpp