Welcome
Blazingly fast 3D animation for agents, with Manim CE's API.
Powered by Rust and wgpu. Install with a prompt or pip. Run in the browser.
10 seconds of 3D video, rendered in 0.85 seconds. On our 1080p60 benchmark, manimgx is 286× faster than Manim CE, 7.3× faster than ManimGL, and 22× faster than Blender Workbench, from launch to finished MP4.
Apple M4 Pro, each tool's default encoder settings. manimgx favors speed over file size. Scenes, settings and results.
Get started¶
With a prompt. Paste into Claude Code, Codex, or Cursor. Your agent handles setup:
Follow https://manimgx.academa.ai/llms.txt.
Install manimgx, make a 3D animation of the solar system, and open it.
With pip. Install on macOS, Linux or Windows with Python 3.13+:
Fonts, typesetting and video encoding are included.
From Python to MP4¶
Save this as scene.py:
import manimgx as m
class Hello3D(m.ThreeDScene):
def construct(self) -> None:
self.set_camera_orientation(phi=65 * m.DEGREES, theta=-45 * m.DEGREES)
self.begin_ambient_camera_rotation(rate=0.5)
cube = m.Cube(side_length=3, fill_opacity=0.3, stroke_width=2)
self.play(m.Create(cube), run_time=2)
self.wait(4)
Render it:
You get Hello3D.mp4, a 1080p60 video:
Why manimgx?¶
An API for 3D video in the age of agents. Your agent writes Python using Manim CE's API. manimgx's Rust + wgpu engine renders the MP4, blazingly fast.
- Fully statically typed. Keyword arguments and
.animatechains included. - 2D and 3D together. Surfaces, meshes and moving cameras alongside text, equations and plots.
- Runs in the browser.
npm install manimgx. Pyodide runs Python in a Web Worker; WebGPU renders the scene. Embed a scene with no render server. - Agent feedback. Storyboards and 2D layout checks.
- Text and math. Write LaTeX or Typst. No LaTeX installation needed.
- Speech in sync. Match animations to spoken words
with
self.say().
On the shoulders of giants¶
Grant Sanderson created Manim. The Manim Community developed the API that manimgx builds on.
The engine draws with wgpu, typesets text and math with Typst and mitex, encodes video with x264, and decodes audio with FFmpeg and libopus.
NumPy powers the geometry, PyO3 connects Python and Rust, and Pyodide runs Python in the browser. Noto supplies fonts, and Mesa's lavapipe lets Linux render without a GPU.
Learn more¶
Community¶
Questions, bug reports and feature requests start with an issue. To contribute, read Contributing and the Developer Guide.
Everyone participating follows the Code of Conduct. Report vulnerabilities privately through the security policy.
License¶
manimgx's own code is MIT-licensed. Native wheels include x264 and are GPL-3.0-or-later as a whole.
Bundled components retain their licenses: see the third-party notices, Linux renderer notices, and the Noto and Noto CJK font licenses.
This software uses code of FFmpeg licensed under
LGPL-2.1-or-later.
Complete source, including FFmpeg, is in manimgx-X.Y.Z-source.tar.xz on each
GitHub release.





