Animation Basics
Animations are transformations applied to mobjects over time. ManimVTK provides a rich set of animation classes for creating smooth, beautiful movements and effects.All animations are played using
self.play() in your scene’s construct() methodPlaying Animations
Basic Syntax
Multiple Animations
Animation Parameters
Animation Types
Creation Animations
Animations that introduce objects to the scene:- Create
- Write
- FadeIn
- GrowFromCenter
Draw the object from start to finish:
Removal Animations
Animations that remove objects from the scene:- Uncreate
- FadeOut
- ShrinkToCenter
Reverse of Create:
Transform Animations
Transform one object into another:Transform- Morph one object into anotherReplacementTransform- Replace and morphTransformFromCopy- Create copy that transformsClockwiseTransform- Transform with rotation
Movement Animations
Move objects around the scene:Rotation Animations
Rotate objects:Indication Animations
Draw attention to objects:- Indicate
- Flash
- Wiggle
- Circumscribe
Briefly highlight:
The .animate Syntax
The most intuitive way to animate transformations:- Readable and intuitive
- Supports method chaining
- Works with most mobject methods
Rate Functions
Control the timing and pacing of animations:linear- Constant speedsmooth- Ease in and outrush_into- Start slow, end fastrush_from- Start fast, end slowthere_and_back- Go and returnrunning_start- Build momentum
Animation Composition
Succession
Animate one after another:AnimationGroup
Group animations to play together:LaggedStart
Start animations with a delay:Advanced Techniques
Custom Run Time
UpdateFromFunc
Animate based on custom function:ValueTracker
Animate a value over time:Updaters
Continuous updates during animation:Animation Timing
Wait Duration
Controlling Speed
Best Practices
Appropriate timing
Appropriate timing
Choose run times that feel natural:
Use appropriate rate functions
Use appropriate rate functions
Use .animate for clarity
Use .animate for clarity
Common Patterns
Intro → Content → Outro
Build Up Gradually
Transform Chain
Next Steps
Animations Reference
Complete animations API
Mobjects
Learn about animatable objects
Examples
Browse animation examples
Rate Functions
Explore timing functions

