MCPcopy 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
78void triggerRipple(fl::WaveSimulation2D &waveSim) {
79 int x = random(WIDTH);
80 int y = random(HEIGHT);
81 waveSim.setf(x, y, 1);
82}
83
84void setup() {
85 Serial.begin(115200);

Callers 1

loopFunction · 0.70

Calls 2

randomClass · 0.50
setfMethod · 0.45

Tested by

no test coverage detected