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

Function CreateArgsUpper

examples/XYPath/src/wave.cpp:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31fl::WaveFx::Args CreateArgsUpper() {
32 fl::WaveFx::Args out;
33 out.factor = fl::SuperSample::SUPER_SAMPLE_2X;
34 out.half_duplex = true;
35 out.auto_updates = true;
36 out.speed = 0.25f;
37 out.dampening = 3.0f;
38 out.crgbMap = fl::make_shared<fl::WaveCrgbGradientMap>(electricGreenFirePal);
39 return out;
40}
41
42WaveEffect NewWaveSimulation2D(const fl::XYMap& xymap) {
43 // only apply complex xymap as the last step after compositiing.

Callers 1

NewWaveSimulation2DFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected