Skip to content
Where new products land first

Manim

Python animation engine for explanatory math videos

Other11d ago
Category
Other
Website
github.com
Language
English
Listed
11d ago
Forks
7,579

3b1b/manim ↗· Python· MIT· Last commit 5d ago

Manim renders animation from code: a Python file lists the objects on screen and the transformations applied to them, and manimgl your_file.py SceneName plays the result. The author of the 3Blue1Brown channel started it as a personal project to animate that channel's math videos, on the reasoning that transforming equations, plotted curves and rotating 3D surfaces are slow and imprecise to draw by hand.

A preview window opens on run, and flags write the scene to a file, open it once written, jump to the final frame, skip ahead to the nth animation, or go fullscreen, while custom_config.yml holds the output path and the defaults for style and quality. Calling self.embed() inside a scene drops you into an IPython terminal, so the animation can be reworked with the window still up. Requirements are Python 3.10 or newer, FFmpeg and OpenGL, plus Pango on Linux and LaTeX only if formulas need typesetting; the license is MIT. This repository is the author's own version, published on PyPI as manimgl, with 3b1b/videos holding the code behind the published videos, and a community edition forked in 2020 sets out to be more stable, better tested and easier to pick up.

Like this product?