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

Method setSuperSample

src/fl/fx/2d/wave.h:235–238  ·  view source on GitHub ↗

@brief Set supersampling quality level @param factor Quality level (SUPER_SAMPLE_NONE, _2X, _4X, or _8X) Supersampling improves visual quality by simulating at higher resolution than the LED grid. Higher values = smoother but slower. Recommended: SUPER_SAMPLE_2X for good balance.

Source from the content-addressed store, hash-verified

233 /// resolution than the LED grid. Higher values = smoother but slower.
234 /// Recommended: SUPER_SAMPLE_2X for good balance.
235 void setSuperSample(SuperSample factor) {
236 // Set the supersampling factor of the wave simulation.
237 mWaveSim.setSuperSample(factor);
238 }
239
240 /// @brief Set easing function for wave amplitude calculation
241 /// @param mode Easing mode (LINEAR or SQRT)

Callers 3

uiFunction · 0.45
loopFunction · 0.45
loopFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected