49 points · by sinaatalay · 4mo ago · 32 comments
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.
Calling it Manim in the browser and using 3Blue1Brown's name is really misleading when you discover that it's none of those things and you're trying to charge for it.
This is a very bad misappropriation of someone else's work and fame for your personal gain.
I can only hope that this inspires some people to vibecode and equivalent service but make it open source and free to all.
3blue1brown's Manim Python code for teaching transformers: 3b1b/videos videos/_2024/transformers: https://github.com/3b1b/videos/tree/e317d6c5eaa8370a2deb4d14...
Notes re: "Manim: Animation engine for explanatory math videos" https://news.ycombinator.com/item?id=44995308 ; ManimML, manim-web (Typescript), manim-web react ManimScene and/or reactive-manim
"Show HN: I ported Manim to TypeScript (run 3b1B math animations in the browser)" re: manim-web: https://news.ycombinator.com/item?id=47155375
philip-murray/reactive-manim: A component library for ManimCE, supporting component composition and automatic animation. Supports declarative syntax for writing components inspired by React.js. https://github.com/philip-murray/reactive-manim
For stateful sims with a reset button like for example the PHET.colorado.edu exercises; https://news.ycombinator.com/item?id=49053601
> R3F ReactThreeFiber and Drei (ThreeJS) and NextJS with OpenNext
ManimGL: https://github.com/MathItYT/manimgl
Manim + WebGL (PyO3, Rust, wgpu, WASM) https://news.ycombinator.com/item?id=49091703 :
MathItYT/mathlikeanim-rs: A Rust library to create interactive mathematical animations https://github.com/MathItYT/mathlikeanim-rs
They're trying to ride on top of 3Blue1Brown's code and fame for personal gain.
animg.app shadertoy.com and glsl.app are working fine at the same time.
--- Live preview couldn't start Your browser supports WebGPU but no compatible GPU was available. Try updating your graphics drivers, enabling hardware acceleration, or using another device or browser.
For the use case we have, we needed a fast animation engine. The engine didn’t begin as a port or rewrite of Manim. We originally built it under a different name as a standalone Rust/WebGPU 3D animation engine for real-time AI tutoring. I spent roughly two months building the renderer and animation system from scratch.
Our original engine had a different interface, different defaults and produced different visual results. Only after the engine was already working did we decide to make part of its Python interface compatible with ManimCE. We did that because many users already know the Manim API, and coding models are already familiar with its classes and common animation patterns. We spent substantial time matching ManimCE’s visual behavior as closely as possible. We believe this compatibility layer makes adoption easier; yet the underlying renderer, scene system, and implementation are our own.
So describing this as vibe coding Manim in Rust and then closing the source is inaccurate. The browser editor, rendering, and video downloads are free. You are free to write code, render and download videos as much as you want. The paid features are the AI-powered functionality, which are priced to cover their cost to us.
We respect that some people would prefer it to be open-source, but choosing not to open-source an independently developed engine is different from taking an open-source project and repackaging it as proprietary software.
We never intended to use 3Blue1Brown's name in a negative or misleading way. We simply wanted to communicate that we have made the Manim API created by 3Blue1Brown accessible in the browser with WebGPU, without requiring any installation.
Your team submitted this with the title “Manim (3Blue1Brown's animation engine) in the browser via WebGPU”
If anyone is being misleading, it’s your team.
We already know they took the open-source code, re-implemented it and closed-sourced it into a product and that is permitted under the MIT license:
>> So you vibe ported manim to rust, kept it closed source, and you’re selling access to it with a monthly subscription? This isn’t satire?
This isn't the same as what you would get from something like Markdown [0], which explicitly says:
"Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission."
What he must do is to attribute credit of the library to the original author (3Blue1Brown) for the derived use. But other than that, this is permitted.
Downloading videos is completely free. Only the AI-powered features are behind the paywall, and there's a 7-day free trial.
We'll put more pre-written examples, thank you!
We've made the AI chat free up to a certain usage limit, so if you're interested, you can give it a try now!