Wiggle

Qualified name: manim.animation.indication.Wiggle

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

Bases: manim.animation.animation.Animation

Wiggle a Mobject.

Parameters
  • mobject (Mobject) – The mobject to wiggle.

  • scale_value – The factor by which the mobject will be temporarily scaled.

  • rotation_angle – The wiggle angle.

  • n_wiggles – The number of wiggles.

  • scale_about_point – The point about which the mobject gets scaled.

  • rotate_about_point – The point around which the mobject gets rotated.

  • run_time – The duration of the animation

Examples

Example: ApplyingWaves

from manim import *

class ApplyingWaves(Scene):
    def construct(self):
        tex = Tex("Wiggle").scale(3)
        self.play(Wiggle(tex))
        self.wait()

Methods

get_rotate_about_point

get_scale_about_point

interpolate_submobject