Skip to main content

Animation Categories

Playing Animations

self.play(AnimationClass(mobject, **kwargs))
Common parameters:
  • run_time (float): Duration in seconds
  • rate_func (function): Timing function
  • lag_ratio (float): For grouped animations

The .animate Syntax

self.play(mobject.animate.method())
Example:
self.play(circle.animate.shift(RIGHT).scale(2).set_color(RED))

See Also