rm tuple
This commit is contained in:
@@ -50,8 +50,8 @@ async def to_chroma_case(data):
|
||||
for i in range(11):
|
||||
for pixelId in colored_pixels:
|
||||
pixels[pixelId] = hsl_to_rgb(hsl_starting_color[0], hsl_starting_color[1], hsl_starting_color[2])
|
||||
hsl_starting_color[2] += 0.1
|
||||
await asyncio.sleep(0.1)
|
||||
hsl_starting_color[2] += 0.001
|
||||
await asyncio.sleep(0.001)
|
||||
for pixelId in colored_pixels:
|
||||
pixels[pixelId] = data["color"]
|
||||
await asyncio.sleep(data['duration'] / 1000)
|
||||
|
||||
Reference in New Issue
Block a user