manim.animation.creation.Unwrite

class Unwrite(vmobject, rate_func=<function linear>, reverse=False, **kwargs)[source]

Bases: manim.animation.creation.Write

Simulate erasing by hand a Text or a VMobject.

Parameters
Return type

None

Examples

Example: UnwriteReverseFalse

from manim import *

class UnwriteReverseFalse(Scene):
    def construct(self):
        text = Tex("Alice and Bob").scale(3)
        self.add(text)
        self.play(Unwrite(text))

Example: UnwriteReverseTrue

from manim import *

class UnwriteReverseTrue(Scene):
    def construct(self):
        text = Tex("Alice and Bob").scale(3)
        self.add(text)
        self.play(Unwrite(text,reverse=True))

Methods

begin

finish

reverse_submobjects