added stop_effect, get_effects

fixed some wrong calculations from hsv to pwm
added lots of todo descriptions
changed find_stripe from requiring a json to sid directly
This commit is contained in:
Giovanni Harting
2015-08-28 21:10:14 +02:00
parent dfaeea33c9
commit 12e946ab39
3 changed files with 62 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ class FadeEffect(GeneratorEffect):
description = "Fades through the HSV color wheel"
def execute(self):
scale = spectra.scale([spectra.hsv(0.0, 1.0, 1.0), spectra.hsv(360, 1.0, 1.0)]).domain([0, 20000])
scale = spectra.scale([spectra.hsv(0.0, 1.0, 1.0), spectra.hsv(360.0, 1.0, 1.0)]).domain([0, 20000])
i = 0
while True: