We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8f539 commit 1ac6f67Copy full SHA for 1ac6f67
adafruit_led_animation/animation.py
@@ -369,7 +369,8 @@ def draw(self):
369
time_since_last_draw = (now - self._last_update) / 1000000000
370
self._last_update = now
371
self._cycle_position = (self._cycle_position + time_since_last_draw) % self._period
372
- intensity = self.min_intensity + (sin(self._radians_per_second * self._cycle_position) * self._intensity_delta)
+ intensity = self.min_intensity + (
373
+ sin(self._radians_per_second * self._cycle_position) * self._intensity_delta)
374
375
color = [int(self._color[n] * intensity) for n in range(self._bpp)]
376
self.fill(color)
0 commit comments