Show HN: Manim (3Blue1Brown's animation engine) in the browser via WebGPU A team has reimplemented 3Blue1Brown's Manim animation engine in Rust with wgpu for GPU-accelerated rendering, enabling it to run in the browser via WebAssembly and WebGPU. The browser-based version features a Monaco editor with live preview and an optional AI agent for generating animations. The project makes Grant Sanderson's math animation tool accessible without a local Python installation. Grant Sanderson 3Blue1Brown created Manim, the Python library he uses to make the math animations in his videos. We reimplemented Manim with the same Python API, but the implementation underneath is Rust, connected to Python through PyO3. The Rust code uses wgpu, so rendering happens on the GPU with hardware acceleration. To run it in the browser, we compiled the Rust parts to WebAssembly so the PyO3 extension loads in Pyodide. In the browser, wgpu targets the WebGPU API, so animations render in real time on your GPU through the browser. The editor is Monaco the editor that powers VS Code with a live preview: write your Manim code on one side, watch the animation update on the other. There's also a built-in AI agent if you'd rather vibe-code your animations. Comments URL: https://news.ycombinator.com/item?id=49091703 https://news.ycombinator.com/item?id=49091703 Points: 4 Comments: 0