ManimGX
ManimGX is a blazingly fast 3D animation engine for agents, compatible with Manim CE's API. It pairs Manim's Python API with a Rust GPU core to render math and 3D videos.
Visit academa-labs/manimgxOverview
ManimGX is an open-source 3D animation engine by Academa for creating math and 3D videos with Manim CE's Python API. Its Rust and wgpu renderer produces native MP4 videos quickly, and a browser path uses npm, Pyodide, and WebGPU.
Key Features
- Compatible with Manim CE's Python API, including typed keyword arguments and .animate chains.
- Rust and wgpu renderer for native GPU rendering and WebGPU in the browser.
- 2D and 3D scenes together, with surfaces, meshes, moving cameras, text, equations, and plots.
- Browser embedding via npm install manimgx, Pyodide in a Web Worker, and WebGPU, with no render server.
- Agent feedback through manimgx inspect, including storyboards and 2D layout checks at chosen play endings or times.
- Text and math via LaTeX or Typst without a LaTeX installation, plus speech-aligned animations with self.say().
Use Cases
- Creating explanatory math animations from Python scenes.
- Rendering 1080p60 MP4 videos natively from scripts.
- Embedding rendered scenes in web pages without a render server.
- Letting coding agents generate and inspect 3D or math animations from prompts and llms.txt setup instructions.
Getting Started
- Install with pip on macOS, Linux, or Windows using Python 3.13+: pip install manimgx.
- Alternatively, paste the project's llms.txt setup instructions into Claude Code, Codex, or Cursor so the agent handles setup.
- Save a scene as scene.py and render it with manimgx render scene.py; the example produces Hello3D.mp4 at 1080p60.
Deployment & Requirements
- Python 3.13+ on macOS, Linux, or Windows for pip installation.
- Fonts, typesetting, and video encoding are included.
- Native rendering uses wgpu; Linux wheels bundle Mesa's lavapipe for Vulkan rendering on CPU when no suitable GPU is available.
- Browser use requires npm install manimgx, Pyodide in a Web Worker, and WebGPU.
Before You Adopt
- License: MIT. Review its terms before using, modifying, or distributing the project.
- Browser-based execution relies on Python running in a Web Worker and WebGPU rendering.