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

◆ triggerRipple()

void triggerRipple ( WaveSimulation2D & waveSim)

Definition at line 60 of file Wave2d.ino.

60 {
61 int x = random() % WIDTH;
62 int y = random() % HEIGHT;
63 waveSim.setf(x, y, 1);
64}
int y
Definition Audio.ino:72
#define WIDTH
Definition Audio.ino:33
int x
Definition Audio.ino:71
#define HEIGHT
Definition Audio.ino:32
WaveSimulation1D waveSim(NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)

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