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
345 B
Raw Blame
# Source: manim/mobject/geometry/labeled.py
import manimgx as m


class LabelExample(m.Scene):
    def construct(self):
        label = m.Label(
            label=m.Text("Label Text", font="sans-serif"),
            box_config={"color": m.BLUE, "fill_opacity": 0.75},
        )
        label.scale(3)
        self.add(label)
        self.wait()