bibliopixel.animation.wrapper module

class bibliopixel.animation.wrapper.Wrapper(layout, animations=None, **kwds)[source]

Bases: bibliopixel.animation.indexed.Indexed

Wraps a single Animation.

Wrapper is used as a base class for Pytho Animation classes that control or process other animations.

animation
Returns:the selected animation based on self.index, or None if

self.index is out of bounds

static pre_recursion(desc)[source]