commands.sh

manim

all

Animation engine for explanatory math videos.

More info →

Options (4)

boolean

Render with live preview (auto-opens the video file after rendering)

Example: manim {{[-pql|--preview --quality low]}} {{path/to/file.py}} {{SceneName}}
boolean

Render at high quality (1080p 60fps)

Example: manim {{[-pqh|--preview --quality high]}} {{path/to/file.py}} {{SceneName}}
-o, --output_fileboolean

Specify a custom output file name

Example: manim {{[-o|--output_file]}} {{output_file_name}} {{path/to/file.py}} {{SceneName}}
-r, --resolutionboolean

Render using a specific resolution and frame rate

Example: manim {{[-r|--resolution]}} {{1920,1080}} --fps {{60}} {{path/to/file.py}} {{SceneName}}

Examples (7)

Render a scene from a Python script using the default settings

manim path/to/file.py SceneName

Render with live preview (auto-opens the video file after rendering)

manim [-pql|--preview --quality low] path/to/file.py SceneName

Render at high quality (1080p 60fps)

manim [-pqh|--preview --quality high] path/to/file.py SceneName

Specify a custom output file name

manim [-o|--output_file] output_file_name path/to/file.py SceneName

Render using a specific resolution and frame rate

manim [-r|--resolution] 1920,1080 --fps 60 path/to/file.py SceneName

List available scenes in a file without rendering

manim --list_scenes path/to/file.py

Display help

manim --help
made by @shridhargupta | data from tldr-pages