hn.today

Show HN: ManimGX – Manim's API on a Rust/wgpu engine, for 3D videos in Python

github.com7 points0 comments
Screenshot of Show HN: ManimGX – Manim's API on a Rust/wgpu engine, for 3D videos in Python

ManimGX is a high-performance 3D animation engine that implements Manim Community Edition’s Python API on a Rust + wgpu rendering core, designed for fast generation of videos from Python scenes. It runs natively and in the browser (via npm + Pyodide + WebGPU), installs with pip, and targets agent-driven workflows so LLMs can emit Manim-style Python that the engine renders to MP4. Benchmarks show dramatic speedups: a 36.2-second composite rendered in 3.08 seconds on an Apple M4 Pro (reported as ~90× faster than ManimCE, ~11× faster than ManimGL, and faster than Blender workbench/EEVEE), with inclusive measurements and reproducible settings. A minimal Hello3D example shows camera motion, Create animation, and a final 1080p60 MP4 produced by the CLI.

Feature-wise, ManimGX combines statically typed Python bindings, 2D+3D primitives, camera controls, and animation chains with text and math typeset by Typst (mitex converts LaTeX), synchronized speech via self.say(), and agent inspection tools (storyboards/layout checks). The renderer adapts Filament-style PBR lighting (IBL, AO, bloom, AgX tone mapping), encodes video with x264, uses FFmpeg/libopus for audio, and bundles lavapipe for CPU Vulkan fallback. Source code is MIT-licensed while native wheels aggregate GPL-3.0-or-later components; docs, examples, benchmarks, and contribution guidance are provided in the repository.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.