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

◆ triggerRipple()

void triggerRipple ( WaveSimulation2D & waveSim)

Definition at line 64 of file Wave2d.ino.

64 {
65 int x = random() % WIDTH;
66 int y = random() % HEIGHT;
67 waveSim.setf(x, y, 1);
68}
#define WIDTH
Definition Blur2d.ino:9
#define HEIGHT
Definition Blur2d.ino:10
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:82
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:83
WaveSimulation1D waveSim(NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)

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