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)