SlideShow¶
Qualified name: algan.animation\_timeline.animation\_contexts.SlideShow
- class SlideShow(runtime=None, **kwargs)[source]¶
Bases:
SeqPresent Mobs one at a time, pausing on each, and clear up at the end.
A
Seqwith presentation manners: every Mob spawned inside gets a one-second pause after it appears, so the viewer has time to read it, and when the block ends everything spawned inside is despawned together. Good for stepping through a list of points.Examples
with SlideShow(): Tex("First point").spawn() Tex("Second point").move_to(DOWN).spawn() # both fade out here
Methods
Pause for a second after a Mob spawns, so it can be read.
Pause for a second after a Mob despawns.
Attributes
animation_managerchild_contextscombine_easingcomposed_easingcurrent_timeWhere the authoring cursor sits within this context, in seconds.
easingend_timeThe furthest time anything recorded in this context reaches, in seconds.
equalize_runtimesfinishedkwargslag_rationew_animationnew_mobsprev_contextpriority_levelrecord_attr_modificationsrecord_funcsruntimeruntime_per_partspawn_at_end- Parameters:
runtime (float | None)
kwargs (Any)