Wiggle

Qualified name: manim.animation.indication.Wiggle

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

Bases: Animation

Wiggle a Mobject.

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

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

  • rotation_angle (float) – The wiggle angle.

  • n_wiggles (int) – The number of wiggles.

  • scale_about_point (ndarray | None) – The point about which the mobject gets scaled.

  • rotate_about_point (ndarray | None) – The point around which the mobject gets rotated.

  • run_time (float) – 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()
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