From ef35b2561038879a0e1bc53bee99079ed575924c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Mon, 24 Jan 2022 15:43:33 +0100 Subject: [PATCH] removing useless stuff --- main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.py b/main.py index f53e9cf..94111ca 100644 --- a/main.py +++ b/main.py @@ -61,11 +61,6 @@ async def to_chroma_case(data): hsl_starting_color = [190, 1, 0] colored_pixels = notePixels[data["key"].lower()] - """ 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.01 - await asyncio.sleep(0.01) """ for pixelId in colored_pixels: pixels[pixelId] = data["color"] await asyncio.sleep(data['duration'] / 1000)