bibliopixel.animation.animation module¶
-
class
bibliopixel.animation.animation.
Animation
(layout, *, preclear=True, fail_on_exception=None, **kwds)[source]¶ Bases:
object
-
COLOR_DEFAULTS
= ()¶
-
FAIL_ON_EXCEPTION
= False¶
-
add_preframe_callback
(callback)[source]¶ The preframe_callbacks are called right before the start of a frame rendering pass.
To avoid race conditions when editing values, the
Project
adds a callback here for the top-level animation, to drain the edit_queue at a moment where no rendering is happening.
-
color_list
¶
-
completed
¶ Many BiblioPixelAnimations use the old completed variable.
-
classmethod
construct
(project, *, run=None, name=None, data=None, **desc)[source]¶ Construct an animation, set the runner, and add in the two “reserved fields” name and data.
-
free_run
= False¶
-
pre_recursion
()¶
-
subframes
= 1¶
-
title
¶
-
top_level
= True¶
-
-
bibliopixel.animation.animation.
BaseAnimation
¶