3b1b /manim
Animation engine for explanatory math videos
★ 96,305⑂ 7,916👁 958⑃ 1,018● 1,244▤ 13◈ 177
96,305
stars
+30
7,916
forks
958
watchers
1,018
prs
1,244
issues
13
releases
177
discussions
README
Manim is an engine for precise programmatic animations, designed for creating explanatory math videos.
Note, there are two versions of manim. This repository began as a personal project by the author of 3Blue1Brown for the purpose of animating those videos, with video-specific code available here. In 2020 a group of developers forked it into what is now the community edition, with a goal of being more stable, better tested, quicker to respond to community contributions, and all around friendlier to get started with. See this page for more details.
Installation
[!Warning]
WARNING: These instructions are for ManimGL _only_. Trying to use these instructions to install Manim Community/manim or instructions there to install this version will cause problems. You should first decide which version you wish to install, then only follow the instructions for your desired version.
[!Note]
Note: To install manim directly through pip, please pay attention to the name of the installed package. This repository is ManimGL of 3b1b. The package name is manimgl instead of manim or manimlib. Please use pip install manimgl to install the version in this repository.
Manim runs on Python 3.10 or higher.
System requirements are FFmpeg, OpenGL and LaTeX (optional, if you want to use LaTeX).
For Linux, Pango along with its development headers are required. See instruction here.
Directly
sh
Install manimgl
pip install manimgl
Try it out
manimgl
For more options, take a look at the Using manim sections further below.
If you want to hack on manimlib itself, clone this repository and in that directory execute:
sh
Install manimgl
pip install -e .
Try it out
manimgl example_scenes.py OpeningManimExample
or
manim-render example_scenes.py OpeningManimExample
Linux (Ubuntu/Debian)
1. Install system dependencies.
sh
sudo apt update
sudo apt install ffmpeg
sudo apt install python3-pip
sudo apt install libpango1.0-dev
2. Install a lightweight LaTeX distribution (optional, for LaTeX rendering).
sh
sudo apt install texlive-science texlive-fonts-extra texlive-latex-extra
This lightweight setup is significantly smaller than installing texlive-full
while still supporting most Manim projects.
3. Clone and install ManimGL.
sh
git clone https://github.com/3b1b/manim.git
cd manim
python3 -m pip install -e .
manimgl example_scenes.py OpeningManimExample
💡 Optional: Using a virtual environment (venv)
It is recommended to use a virtual environment to avoid conflicts with system packages.
sh
sudo apt install python3-venv
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -e .
If python3-venv is unavailable on your system, try installing the version-specific package instead:
sh
sudo apt install python3.12-venv
Directly (Windows)
1. Install FFmpeg.
2. Install a LaTeX distribution. MiKTeX is recommended.
3. Install the remaining Python packages.
sh
git clone https://github.com/3b1b/manim.git
cd manim
pip insTop issues
#1276issue with animations contains text .. throws warnings and list index out of range.78 comments · 2020-11-18#1556GLib-GIO-WARNING54 comments · 2021-06-19#884How to choose a font with Text object?48 comments · 2020-02-13#936New Manim version that supports GPU45 comments · 2020-03-26#505Exception: Latex error converting to dvi. See log output above...34 comments · 2019-04-16#1152Sound in Windows refuses to be rendered due to FFMPEG error24 comments · 2020-06-30#1462lines and graphs are not shown!18 comments · 2021-04-07#990FileNotFoundError: [WinError 2] The system cannot find the file specified16 comments · 2020-04-18
Discussions
#2498I've got a bug, and i can't properly use ManimGL.0 comments · 2026-08-11#2442Rendering to moderngl fbo0 comments · 2026-03-24#2401Problems displaying objects in 3D scene0 comments · 2025-10-13#2400🛡️ ShieldX — A Vietnamese Student’s Fight to Make Cybersecurity Free for Everyone0 comments · 2025-10-07#2385Ported manim-voiceover (A manim CE plugin) to work with manimgl2 comments · 2025-08-19#2383AI-powered Voiceover (and more!) now available for ManimGL0 comments · 2025-08-18#2373Problems when using Vietnamese0 comments · 2025-07-31#2371grant's account got hacked?0 comments · 2025-07-18
Latest release
v1.7.2 v1.7.2 2024-12-13- Added reload functionality by @Splines - Updated how configuration is handled - Change how Tex (and Text) caches generated svg data - Fix incorrect arg injection in Riemann rectangles by @InakiRaba91 - Misc. other bug fixes
相关报道 (3)
News & coverage (9)
Hacker NewsManim – 3Blue1Brown's animation engine for explanatory math videos▲ 669 · 80 comments · 2019-04-22Hacker NewsManim: Animation engine for explanatory math videos▲ 434 · 68 comments · 2025-08-23Hacker NewsAnimation engine for explanatory math videos▲ 3 · 0 comments · 2017-05-06archivegithub.com-ManimCommunity-manim_-_2021-08-21_15-53-552021-08-20YouTubeDifferentiation Made Simple2026-07-24YouTubeThe MRI trade-off triangle among field strength, SNR, resolution, and scan time2026-01-16Towards Data ScienceCross-Entropy, Negative Log-Likelihood, and All That Jazz2025-02-04KDnuggets10 GitHub Repositories to Master Math2025-01-03The GitHub BlogRelease Radar · February 2021 Edition2021-03-05