manim.animation.indication.ShowPassingFlash

class ShowPassingFlash(mobject, time_width=0.1, remover=True, **kwargs)[source]

Bases: manim.animation.creation.ShowPartial

Show only a sliver of the VMobject each frame.

Examples

ShowPassingFlashScene
class ShowPassingFlashScene(Scene):
    def construct(self):
        p = RegularPolygon(5)
        self.add(p)
        self.play(ShowPassingFlash(p.copy().set_color(YELLOW)))

See also

ShowCreation

Methods

finish

Parameters
  • mobject (Mobject) –

  • time_width (float) –

  • remover (bool) –

Return type

None