3b1b

manim: Create Programmatic Math Animations

Manim is a Python animation engine for building precise, code-driven scenes for explanatory math videos. It suits creators who want fine-grained control over visual storytelling and are comfortable managing its rendering and system dependencies.

View on GitHub Compare
Stars
94.5k
Forks
7.8k
Stars, last 30 days
+1,358

Our take

Health score

56/100

How it is scored
Activity
52
Community
65
Issues
36
Pull requests
71

+1,358 stars in the last 30 days

  • More contributors than 78% of the projects we track
  • Slower to close issues than 95% of the projects we track

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

96,602

Forks

7,936

Change since Nov 16, 2026: +34 stars·+2 forks

Overview

Manim is a Python engine for creating precise animations through code, designed for explanatory math videos. Rather than assembling visuals by hand, creators define scenes and animations programmatically, making it possible to coordinate mathematical objects, text, and motion.

This is the original 3Blue1Brown-oriented version, also known as ManimGL. It is distinct from the Manim Community edition: choose this repository when its approach and compatibility with 3Blue1Brown video code fit your project.

Key Features

  • Build animation scenes and objects through Python code.
  • Preview scenes in a playback window and render them to files.
  • Control playback and output with command-line flags, including skipping to an animation or saving a final frame.
  • Configure output locations, media paths, style, and video quality with custom_config.yml.
  • Use LaTeX for mathematical text rendering when desired.
  • Explore example scenes and documentation linked from the repository README.

Use Cases

  • Math educators can illustrate concepts with custom animated diagrams and formulas.
  • Video creators can build repeatable, precise visuals for explanatory math content.
  • Python developers can generate animations directly from code when manual editing is too limiting.
  • Creators adapting existing 3Blue1Brown video code can use this version, while checking compatibility with the current release.

Getting Started

The package for this repository is manimgl, not manim:

pip install manimgl
manimgl example_scenes.py OpeningManimExample

See the README for platform-specific setup and usage details.

Alternatives

  • 3b1b/videos: This repository contains specific 3Blue1Brown video code built primarily with Manim, rather than a general-purpose animation engine.
  • ManimML: ManimML offers reusable components for machine-learning visuals, while Manim is the general-purpose engine for creating custom animations.
ProjectLanguageLicenseStarsStatus
manimPythonMIT94.5kNot checked yet
videosPythonOther11.3kActive
ManimMLPythonMIT3.5kInactive

Considerations

  • ManimGL and Manim Community are separate projects with different installation instructions and package names. Do not mix their setup guides.
  • Requires Python 3.10 or higher, FFmpeg, and OpenGL. LaTeX is optional, and Linux also requires Pango and its development headers.
  • This is a code-first animation tool, so it is best suited to users comfortable writing Python rather than seeking a point-and-click editor.
  • The README notes that code from older videos may not work with the latest version. Documentation is described as in progress.

Found this useful?

Share it with someone who would like manim.

Comparisons