MCPcopy Create free account
hub / github.com/FastLED/FastLED / getAnimationTime

Function getAnimationTime

examples/XYPath/complex.h:111–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109//////////////////// LOOP SECTION /////////////////////////////
110
111float getAnimationTime(uint32_t now) {
112 float pointf = shapeProgress.updatef(now);
113 return pointf + transition.value();
114}
115
116void clearLeds() { fl::memset(leds, 0, NUM_LEDS * sizeof(fl::CRGB)); }
117

Callers 1

loopFunction · 0.70

Calls 2

updatefMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected