# Manim (3Blue1Brown's animation engine) in the browser via W…

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.…

- **Page:** https://magpie.gallery/i/manim-3blue1brown-s-animation-engine-in-the-browse-n5bb
- **Type:** Link to an idea elsewhere
- **Category:** Creative & design
- **Runs on:** web
- **Tags:** animation, math, webgpu, rust, python

## Source

Web · sinaatalay: Manim (3Blue1Brown's animation engine) in the browser via WebGPU

- **Original:** https://news.ycombinator.com/item?id=49091703

> 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. 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. https://studio.academa.ai/

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
