manim

creates mathematical animations

TLDR

Render scene
$ manim [script.py] [SceneName]
Preview with low quality
$ manim -pql [script.py] [SceneName]
Render high quality
$ manim -pqh [script.py] [SceneName]
Output GIF
$ manim --format gif [script.py] [SceneName]
Save last frame
$ manim -s [script.py] [SceneName]
List scenes
$ manim [script.py]

SYNOPSIS

manim [options] script [scene]

DESCRIPTION

manim creates mathematical animations. It renders Python-defined scenes to video.The tool animates mathematical concepts with LaTeX support. Created for educational videos.

PARAMETERS

SCRIPT

Python script file.
SCENE
Scene class name.
-p
Preview after render.
-q QUALITY
Quality (l, m, h, k).
-s
Save last frame only.
--format FMT
Output format (mp4, gif, webm).
--help
Display help information.

INSTALL

brew install manim
nix profile install nixpkgs#manim

CAVEATS

Requires FFmpeg and LaTeX. Rendering can be slow. Python knowledge needed.

HISTORY

Manim was created by Grant Sanderson (3Blue1Brown) for his mathematical explanation videos on YouTube.

SEE ALSO

ffmpeg(1), pdflatex(1), python(1)