Repolode
ManimCommunity

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. 1

    Install Manim locally by following the official documentation for your operating system

  2. 2

    Save the example scene code in a file named example.py

  3. 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