ShrinkToCenter#

Qualified name: manim.animation.transform.ShrinkToCenter

class ShrinkToCenter(mobject=None, *args, use_override=True, **kwargs)[source]#

Bases: ScaleInPlace

Animation that makes a mobject shrink to center.

Examples

Example: ShrinkToCenterExample

from manim import *

class ShrinkToCenterExample(Scene):
    def construct(self):
        self.play(ShrinkToCenter(Text("Hello World!")))
class ShrinkToCenterExample(Scene):
    def construct(self):
        self.play(ShrinkToCenter(Text("Hello World!")))

Methods

Attributes

path_arc

path_func

Parameters:

mobject (Mobject) –