add new animation RotatingRainbowBeamerBlack
new animation that disables the lights on the projector side of the room mostly copied from the kitchenlight effect by tessak9
This commit is contained in:
parent
4abcbcc9d6
commit
69840b41fc
3 changed files with 32 additions and 3 deletions
4
dmx.py
4
dmx.py
|
|
@ -6,7 +6,7 @@ from time import sleep
|
|||
from typing import Union
|
||||
|
||||
from animation import Animation, Off, RandomSingle, Steady, FadeTo, RotatingRainbow, Chase, TwoColor, Caramelldansen, \
|
||||
Hackertours, RotatingRainbowKitchenWhite
|
||||
Hackertours, RotatingRainbowKitchenWhite, RotatingRainbowBeamerBlack
|
||||
|
||||
|
||||
def ledlog(value):
|
||||
|
|
@ -154,6 +154,8 @@ class DMX:
|
|||
animation = Hackertours(self._color)
|
||||
elif animation == "kitchenlight":
|
||||
animation = RotatingRainbowKitchenWhite()
|
||||
elif animation == "beamermode":
|
||||
animation = RotatingRainbowBeamerBlack()
|
||||
else:
|
||||
raise ValueError(f"No such animation {animation}")
|
||||
self._animation = animation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue