1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-05 03:55:33 +02:00
tldr/pages/common/manim.md
2025-07-26 16:18:23 +03:00

936 B

manim

Animation engine for explanatory math videos. More information: https://docs.manim.community/en/stable/tutorials/quickstart.html.

  • 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}} {{[-f|--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