from machine import Pin, Timer
from neopixel import NeoPixel
from time import sleep
from animations import *
import colors
matrix = NeoPixel(Pin(0), 128)
COLORS = (
colors.RED,
colors.GREEN,
colors.BLUE,
)
"""
anim = GradientFlow(matrix,
COLORS,
steps=42,
period=200,
reverse=True
)
anim.start()
sleep(10)
anim.stop()
"""
anim = ColumnGradientFlow(matrix,
COLORS,
colpixels=8,
intro=True,
steps=5,
period=300,
reverse=True,
)
anim.start()
sleep(20)
anim.stop()
#anim.handler("T")