Creating Custom Animations
Extend Animation class:See Also
Animations Guide
Animation concepts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Creating custom animation classes
from manimvtk import *
class CustomAnimation(Animation):
def interpolate_mobject(self, alpha):
# alpha goes from 0 to 1
# Modify self.mobject based on alpha
self.mobject.scale(1 + alpha)
