Reduce default candlelight flicker speed for more realistic candle effect

Scale speed by 0.35 so speed=1 gives ~1.3 Hz dominant flicker instead of 3.7 Hz.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 02:12:32 +03:00
parent fe7fd8d539
commit 42b5ecf1cd

View File

@@ -189,6 +189,8 @@ class CandlelightColorStripStream(ColorStripStream):
- Per-LED noise adds individual variation - Per-LED noise adds individual variation
- Final brightness modulates the base warm color - Final brightness modulates the base warm color
""" """
# Scale speed so that speed=1 gives a gentle ~1.3 Hz dominant flicker
speed = speed * 0.35
intensity = self._intensity intensity = self._intensity
num_candles = self._num_candles num_candles = self._num_candles
base_r, base_g, base_b = self._color[0], self._color[1], self._color[2] base_r, base_g, base_b = self._color[0], self._color[1], self._color[2]