Remove super annoying effect

Slow down rainbow

Closes #3
This commit is contained in:
Stefan Bethke 2024-08-11 22:00:30 +02:00
parent a290dccb67
commit d6cd834ca8
2 changed files with 1 additions and 16 deletions

View file

@ -192,7 +192,7 @@ class FadeTo(Steady):
class RotatingRainbow(Animation): class RotatingRainbow(Animation):
def __init__(self, looptime=10.0): def __init__(self, looptime=50.0):
super(RotatingRainbow, self).__init__() super(RotatingRainbow, self).__init__()
self.looptime = looptime self.looptime = looptime
pass pass

View file

@ -17,25 +17,10 @@
<input type="radio" class="js_animation" name="state" id="animation_white" value="steady"/> <input type="radio" class="js_animation" name="state" id="animation_white" value="steady"/>
<label for="animation_white">Steady</label> <label for="animation_white">Steady</label>
</div> </div>
<div>
<input type="radio" class="js_animation" name="state" id="animation_chase" value="chase"/>
<label for="animation_chase">Chase</label>
</div>
<div> <div>
<input type="radio" class="js_animation" name="state" id="animation_rainbow" value="rainbow"/> <input type="radio" class="js_animation" name="state" id="animation_rainbow" value="rainbow"/>
<label for="animation_rainbow">Rainbow</label> <label for="animation_rainbow">Rainbow</label>
</div> </div>
<div>
<input type="radio" class="js_animation" name="state" id="animation_randomsingle" value="randomsingle"/>
<label for="animation_randomsingle">Random Single</label>
<div>
<input type="radio" class="js_animation" name="state" id="animation_twocolor" value="twocolor"/>
<label for="animation_twocolor">Complementary</label>
</div>
<div>
<input type="radio" class="js_animation" name="state" id="animation_caramelldansen" value="caramelldansen"/>
<label for="animation_caramelldansen">Caramelldansen</label>
</div>
</fieldset> </fieldset>
<fieldset class="colors"> <fieldset class="colors">
<legend>Color</legend> <legend>Color</legend>