manim.animation.composition.AnimationGroup

class AnimationGroup(*animations, group=None, run_time=None, rate_func=<function linear>, lag_ratio=0, **kwargs)[source]

Bases: manim.animation.animation.Animation

Methods

begin

build_animations_with_timings

Creates a list of triplets of the form (anim, start_time, end_time)

clean_up_from_scene

finish

get_all_mobjects

Ordering must match the ordering of arguments to interpolate_submobject

init_run_time

interpolate

update_mobjects

Updates things like starting_mobject, and (for Transforms) target_mobject.

Parameters
Return type

None

build_animations_with_timings()[source]

Creates a list of triplets of the form (anim, start_time, end_time)

Return type

None

get_all_mobjects()[source]

Ordering must match the ordering of arguments to interpolate_submobject

Return type

manim.mobject.mobject.Group

update_mobjects(dt)[source]

Updates things like starting_mobject, and (for Transforms) target_mobject. Note, since typically (always?) self.mobject will have its updating suspended during the animation, this will do nothing to self.mobject.

Parameters

dt (float) –

Return type

None