academa-labs / manimgx
git clone https://github.com/academa-labs/manimgx.git
v0.1.1 · 13d ago
The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.
—
stars, 24h
—
stars, 7 days
+1.9k
stars, 30 days · #160
1.9k
★ total
136
forks · 21 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguagePython
LicenseMIT
Created2026-10-05 (15d ago)
Last pushtoday
Watchers13
OwnerOrganization
Links
- GitHub: github.com/academa-labs/manimgx
- Homepage: https://manimgx.academa.ai
- Releases · Issues · Hacker News mentions
README excerpt
Blazingly fast 3D animation engine for agents, compatible with Manim CE's API . Powered by Rust and wgpu. Install with a prompt or pip. Run in the browser. Documentation · Quickstart · Examples · API Reference **36.2 seconds of video, rendered in 3.08 seconds.** Across five scenes at 1080p60 on an Apple M4 Pro, ManimGX is **90.6× faster than ManimCE**, **11.5× faster than ManimGL**, and **18.7× faster than Blender Workbench**, from launch to finished MP4. How it was measured: the scenes, the settings and every run. All engines use the fastest encoding preset available. Lower is better. **Compare the same scene.** Linked rings at 2.5 seconds, rendered by each engine. | ManimGX | ManimCE | ManimGL | Blender Workbench | Blender EEVEE | | :---: | :---: | :---: | :---: | :---: | | | | | | | ## Get started **With a prompt.** Paste into Claude Code, Codex, or Cursor. Your agent handles setup: [code] **With pip.** Install on macOS, Linux or Windows with Python 3.13+: [code] Fonts, typesetting and video encoding are included. For editor setup and a guided first animation, follow the Quickstart. ## From Python to MP4 Save this as `scene.py`: [code] Render it: [code] 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 `.animate` chains 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.** `manimgx inspect`: storyboards and 2D layout checks, at play endings or times you choose. - **Text and math.** Write LaTeX or Typst. No LaTeX installation needed. - **Speech in sync.** Match animations to spoken words with `self.say()`. ## Documentation **manimgx.academa.ai** has the guides, rendered examples with source code, and API reference: - Quickstart: install, set up your editor, and render your first scene. - User Guide: learn scenes, animations, 3D, text and sound, one idea at a time. - Examples: watch complete films and read the Python that makes them. - API Reference: look up classes, methods and their typed parameters. - Coming from Manim CE: adapt existing scenes and check where behavior differs. For agents, llms.txt provides setup instructions and links to the documentation as Markdown. ## On the shoulders of giants Grant Sanderson created Manim. ManimGX targets the API of Manim Community Edition, the widely used community-maintained fork. The Rust renderer uses wgpu for native GPU rendering and WebGPU in the browser. Its 3D lighting is adapted from Google's Filament: physically based materials, image-based lighting, ambient occlusion, bloom and AgX tone mapping. Typst typesets text and math, with mitex