#include <animation.h>
A progressive wave that propagates from a line.
- Return values
-
- Parameters
-
coordinate | spatial period (lambda) |
time | time period (T) |
line | origin of the wave |
- Examples
- pixled/animation/linear_unit_wave.cpp.
◆ operator()()
float pixled::animation::LinearUnitWave::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