manim.animation.indication.Indicate

class Indicate(mobject, scale_factor=1.2, color='#FFFF00', rate_func=<function there_and_back>, **kwargs)[source]

Bases: manim.animation.transform.Transform

Indicate a Mobject by temporaly resizing and recoloring it.

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

  • scale_factor (float) – The factor by which the mobject will be temporally scaled

  • color (str) – The color the mobject temporally takes.

  • rate_func (Callable[[float, Optional[float]], numpy.ndarray]) – The function definig the animation progress at every point in time.

  • kwargs (Any) – Additional arguments to be passed to the Succession constructor

Return type

None

Examples

Example: UsingIndicate

from manim import *

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

Methods

create_target

Attributes

path_arc

path_func