FastLED 3.9.15
Loading...
Searching...
No Matches

◆ triggerRipple()

void triggerRipple ( WaveSimulation2D & waveSim)

Definition at line 78 of file Wave2d.h.

78 {
79 int x = random(WIDTH);
80 int y = random(HEIGHT);
81 waveSim.setf(x, y, 1);
82}
int y
Definition simple.h:93
int x
Definition simple.h:92
#define WIDTH
Definition advanced.h:36
#define HEIGHT
Definition advanced.h:37
WaveSimulation1D waveSim(NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)

References HEIGHT, waveSim(), WIDTH, x, and y.

Referenced by loop().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: