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
}
WIDTH
#define WIDTH
Definition
Blur2d.ino:9
HEIGHT
#define HEIGHT
Definition
Blur2d.ino:10
x
uint32_t x[NUM_LAYERS]
Definition
Fire2023.ino:82
y
uint32_t y[NUM_LAYERS]
Definition
Fire2023.ino:83
waveSim
WaveSimulation1D waveSim(NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)
References
HEIGHT
,
waveSim
,
WIDTH
,
x
, and
y
.
examples
Wave2d
Wave2d.ino
Generated on Tue Jun 24 2025 00:58:14 for FastLED by
1.13.2