FastLED
3.9.15
Loading...
Searching...
No Matches
◆
triggerRipple()
void triggerRipple
(
WaveSimulation1D
&
waveSim
,
int
x
)
Definition at line
49
of file
Wave.ino
.
49
{
50
51
for
(
int
i =
x
- 1; i <=
x
+ 1; i++) {
52
if
(i < 0 || i >=
NUM_LEDS
)
53
continue
;
54
waveSim
.setf(i, -1.f);
55
}
56
}
NUM_LEDS
#define NUM_LEDS
Definition
Apa102.ino:6
x
uint32_t x[NUM_LAYERS]
Definition
Fire2023.ino:82
waveSim
WaveSimulation1D waveSim(NUM_LEDS, SuperSample::SUPER_SAMPLE_2X)
References
NUM_LEDS
,
waveSim
, and
x
.
examples
Wave
Wave.ino
Generated on Tue Jun 24 2025 00:58:14 for FastLED by
1.13.2