ManimGL is the original 3Blue1Brown engine for writing precise, code-driven animations used to make explanatory math videos.
ManimCommunity/manim
A community-maintained Python engine for creating precise, programmatic mathematical animations and explanatory videos.
Open-source alternative to:Adobe After Effects
- Stars
- 42,327
- Forks
- 3,300
- Open issues
- 391
- Last commit
- 3 days ago
What is it?
Manim is an animation engine for explanatory math videos. Scenes are written as Python code, so shapes, equations, graphs and transformations are positioned and animated precisely rather than drawn by hand in a video editor. The project is the community-maintained edition, forked from the original 3b1b/manim that powers the 3Blue1Brown videos.
A scene is a Python class with a construct method, where objects are created and passed to self.play with animations such as Create, Transform and FadeOut. Rendering is started from the manim command line, which can preview output at different quality levels, render only the final frame, or jump to a specific animation within a scene.
Manim can also be used inside JupyterLab and classic Jupyter notebooks through a %%manim magic. A Docker image is published for users who prefer a containerized setup over a local installation.
Key features
- 01Creates animations of shapes, text, equations and graphs from Python code.
- 02Provides transformations such as Transform, FadeIn and FadeOut between objects.
- 03Renders scenes from the command line with adjustable quality and preview.
- 04Runs inside Jupyter notebooks via the %%manim IPython magic.
- 05Ships a Docker image for containerized rendering.
Use cases
- Producing explanatory math or physics videos with precisely controlled visuals.
- Teaching concepts by animating equations and geometric transformations step by step.
- Prototyping mathematical animations interactively in a Jupyter notebook.
Quick start
- 1
Install Manim locally by following the official documentation for your operating system
- 2
Save the example scene code in a file named example.py
- 3
Render and preview the example scene in a terminal
manim -p -ql example.py SquareToCircle
Things to know
- Local installation requires several dependencies that must be set up first.
- The project is undergoing a major refactor, so contributions adding new features are not currently accepted.
In collections
Topics
FAQ
- What is manim?
- A community-maintained Python engine for creating precise, programmatic mathematical animations and explanatory videos. Manim is an animation engine for explanatory math videos. Scenes are written as Python code, so shapes, equations, graphs and transformations are positioned and animated precisely rather than drawn by hand in a video editor. The project is the community-maintained edition, forked from the original 3b1b/manim that powers the 3Blue1Brown videos.
- Is manim free to use? What license does it have?
- manim is open source under the MIT license. Check the license terms before using it in commercial products.
- Is manim still maintained?
- Actively maintained. The last commit to manim was on Nov 5, 2026.
- What can I use manim for?
- Producing explanatory math or physics videos with precisely controlled visuals. Teaching concepts by animating equations and geometric transformations step by step. Prototyping mathematical animations interactively in a Jupyter notebook.
- How do I install manim?
- Install Manim locally by following the official documentation for your operating system Save the example scene code in a file named example.py Render and preview the example scene in a terminal: manim -p -ql example.py SquareToCircle
- Where can I get manim?
- The source code and installation instructions are on GitHub: https://github.com/ManimCommunity/manim
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An AI math mentor that marks up your handwritten work on screen with hints, not answers, and can animate ideas with manim.
A local browser tool that plays a finished motion-graphics ad in sync with its black-and-white draft scenes and exports the breakdown as one MP4.
A Claude Code skill that builds an interactive, offline 3D simulator of any machine you can take apart, as a single HTML page.
A React-based framework for creating videos programmatically, with code as the source of truth for video timelines and animations.
A motion design toolkit that lets coding agents like Claude Code build Remotion videos with timeline-driven scenes, a visual review loop and a Python sound engine.