← 返回命令列表

Linux command

manim 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

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]

说明

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

参数

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

FAQ

What is the manim command used for?

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

How do I run a basic manim example?

Run `manim [script.py] [SceneName]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p do in manim?

Preview after render.