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


class GradientExample(m.Scene):
    def construct(self):
        t = m.Text("Hello", gradient=(m.RED, m.BLUE, m.GREEN), font_size=96)
        self.add(t)
        self.wait()