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}
#define WIDTH
Definition Blur2d.ino:9
#define HEIGHT
Definition Blur2d.ino:10
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:81
WaveSimulation1D waveSim(NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)

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