Skip to content

The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.

Python
300 B
Raw Blame
# Source: manim/mobject/svg/brace.py
import manimgx as m


class BraceLabelWithObjKwargExample(m.Scene):
    def construct(self):
        square = m.Square(side_length=2.0)
        brace = m.BraceLabel(obj=square, text="L")
        self.play(m.FadeIn(square), m.FadeIn(brace))
        self.wait(0.2)