Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ triggerRipple
Function
triggerRipple
examples/Wave2d/Wave2d.h:78–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
}
77
78
void triggerRipple(fl::WaveSimulation2D &waveSim) {
79
int x = random(WIDTH);
80
int y = random(HEIGHT);
81
waveSim.setf(x, y, 1);
82
}
83
84
void setup() {
85
Serial.begin(115200);
Callers
1
loop
Function · 0.70
Calls
2
random
Class · 0.50
setf
Method · 0.45
Tested by
no test coverage detected