BiblioPixelAnimations.strip.ColorPattern module

class BiblioPixelAnimations.strip.ColorPattern.ColorPattern(layout, width=1, dir=True, **kwds)[source]

Bases: bibliopixel.animation.strip.Strip

Fill the dots progressively along the strip with alternating colors.

COLOR_DEFAULTS = (('colors', [(255, 0, 0), (0, 255, 0), (0, 0, 255)]),)
pre_run()[source]
step(amt=1)[source]