Implement Hackertours effect
This commit is contained in:
parent
d6cd834ca8
commit
93b409736f
6 changed files with 60 additions and 12 deletions
|
|
@ -7,7 +7,7 @@ from typing import Tuple
|
|||
from bottle import post, request, route, run, static_file, view
|
||||
|
||||
from animation import Off
|
||||
from dmx import DMX, Bar252, StairvilleLedPar56, REDSpot18RGB
|
||||
from dmx import DMX, Bar252, StairvilleLedPar56, REDSpot18RGB, ZhennbyPar
|
||||
|
||||
room = ''
|
||||
|
||||
|
|
@ -74,6 +74,13 @@ def main(args):
|
|||
Bar252(dmx, 51),
|
||||
Bar252(dmx, 62),
|
||||
]
|
||||
elif args.room == "hackertours":
|
||||
dmx._rgbs = [
|
||||
ZhennbyPar(dmx, 1),
|
||||
ZhennbyPar(dmx, 8),
|
||||
ZhennbyPar(dmx, 15),
|
||||
ZhennbyPar(dmx, 22),
|
||||
]
|
||||
else:
|
||||
print(f"Unknown room {args.room}", file=sys.stderr)
|
||||
sys.exit(64)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue