The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.
# Source: manim/mobject/mobject.py import manimgx as m class AnimateExample(m.Scene): def construct(self): s = m.Square() self.play(m.Create(s)) self.play(s.animate.shift(m.RIGHT)) self.play(s.animate.scale(2)) self.play(m.Rotate(s, angle=m.PI / 2)) self.play(m.Uncreate(s))