FastLED 3.9.15
Loading...
Searching...
No Matches
fl::NoiseBias2D Class Reference

Detailed Description

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
 
NoiseBias1Dx ()
 
const NoiseBias1Dx () const
 
NoiseBias1Dy ()
 
const NoiseBias1Dy () const
 

Private Attributes

NoiseBias1D mXBias
 
NoiseBias1D mYBias
 

The documentation for this class was generated from the following file: