@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.
| 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) |