BiblioPixelAnimations.matrix.LangtonsAnt module

class BiblioPixelAnimations.matrix.LangtonsAnt.LangtonsAnt(layout, **kwds)[source]

Bases: BiblioPixelAnimations.matrix.LangtonsAnt.LangtonsAntBase

step(amt=1)[source]
class BiblioPixelAnimations.matrix.LangtonsAnt.LangtonsAntBase(layout, **kwds)[source]

Bases: bibliopixel.animation.matrix.Matrix

COLOR_DEFAULTS = (('offColor', (0, 0, 0)), ('antColor', (0, 255, 0)), ('pathColor', (255, 0, 0)))
pre_run()[source]
class BiblioPixelAnimations.matrix.LangtonsAnt.LangtonsAntRainbow(layout, colors=None, **kwds)[source]

Bases: BiblioPixelAnimations.matrix.LangtonsAnt.LangtonsAntBase

DEFAULT_COLORS = [(255, 0, 0), (255, 165, 0), (255, 255, 0), (0, 255, 0), (0, 0, 255), (238, 130, 238)]
step(amt=1)[source]