|
FastLED 3.9.15
|
Two-axis attack/decay bias for 2D effects (per-column X + per-row Y).
Definition at line 104 of file flowfield.h.
#include <flowfield.h>
Collaboration diagram for fl::NoiseBias2D:Public Member Functions | |
| NoiseBias2D (u16 width, u16 height, float attackTau, float decayTau) | |
| float | get (u16 x, u16 y) const |
| float | getX (u16 x) const |
| float | getY (u16 y) const |
| u16 | height () const |
| void | reset () |
| void | triggerX (float center, float width, float amplitude, BumpShape shape=BumpShape::HalfSine) |
| void | triggerY (float center, float width, float amplitude, BumpShape shape=BumpShape::HalfSine) |
| void | update (float dtSeconds) |
| u16 | width () const |
| NoiseBias1D & | x () |
| const NoiseBias1D & | x () const |
| NoiseBias1D & | y () |
| const NoiseBias1D & | y () const |
Private Attributes | |
| NoiseBias1D | mXBias |
| NoiseBias1D | mYBias |