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
286 B
Raw Blame
# Source: docs/source/guides/using_text.rst
import manimgx as m


class LaTeXSubstrings(m.Scene):
    def construct(self):
        tex = m.Tex("Hello", r"$\bigstar$", r"\LaTeX", font_size=144)
        tex.set_color_by_tex(r"$\bigstar$", m.RED)
        self.add(tex)
        self.wait()