mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
Docs: fix out-dated CLI option in Manim's Output Settings (#3674)
* Docs: fix out-dated CLI option in Manim's Output Settings * Docs: more fluent English Co-authored-by: adeshpande <110117391+JasonGrace2282@users.noreply.github.com> * Docs: break lines * Docs: more fluent English * Docs: remove a space Co-authored-by: adeshpande <110117391+JasonGrace2282@users.noreply.github.com> --------- Co-authored-by: adeshpande <110117391+JasonGrace2282@users.noreply.github.com>
This commit is contained in:
parent
b750152700
commit
aef8184379
1 changed files with 18 additions and 15 deletions
|
|
@ -276,25 +276,28 @@ When executing the command
|
|||
|
||||
manim -pql scene.py SquareToCircle
|
||||
|
||||
it was necessary to specify which ``Scene`` class to render. This is because a
|
||||
single file can contain more than one ``Scene`` class. If your file contains
|
||||
multiple ``Scene`` classes, and you want to render them all, you can use the
|
||||
``-a`` flag.
|
||||
it specifies the scene to render. This is not necessary now. When a single
|
||||
file contains only one ``Scene`` class, it will just render the ``Scene``
|
||||
class. When a single file contains more than one ``Scene`` class, manim will
|
||||
let you choose a ``Scene`` class. If your file contains multiple ``Scene``
|
||||
classes, and you want to render them all, you can use the ``-a`` flag.
|
||||
|
||||
As discussed previously, the ``-ql`` specifies low render quality. This does
|
||||
not look very good, but is very useful for rapid prototyping and testing. The
|
||||
other options that specify render quality are ``-qm``, ``-qh``, and ``-qk`` for
|
||||
medium, high, and 4k quality, respectively.
|
||||
As discussed previously, the ``-ql`` specifies low render quality (854x480
|
||||
15FPS). This does not look very good, but is very useful for rapid
|
||||
prototyping and testing. The other options that specify render quality are
|
||||
``-qm``, ``-qh``, ``-qp`` and ``-qk`` for medium (1280x720 30FPS), high
|
||||
(1920x1080 60FPS), 2k (2560x1440 60FPS) and 4k quality (3840x2160 60FPS),
|
||||
respectively.
|
||||
|
||||
The ``-p`` flag plays the animation once it is rendered. If you want to open
|
||||
the file browser at the location of the animation instead of playing it, you
|
||||
can use the ``-f`` flag. You can also omit these two flags.
|
||||
|
||||
Finally, by default manim will output .mp4 files. If you want your animations
|
||||
in .gif format instead, use the ``-i`` flag. The output files will be in the
|
||||
same folder as the .mp4 files, and with the same name, but a different file
|
||||
extension.
|
||||
in .gif format instead, use the ``--format gif`` flag. The output files will
|
||||
be in the same folder as the .mp4 files, and with the same name, but a
|
||||
different file extension.
|
||||
|
||||
This was a quick review of some of the most frequent command-line flags. For a
|
||||
thorough review of all flags available, see the
|
||||
:doc:`thematic guide on Manim's configuration system </guides/configuration>`.
|
||||
This was a quick review of some of the most frequent command-line flags.
|
||||
For a thorough review of all flags available, see the :doc:`thematic guide on
|
||||
Manim's configuration system </guides/configuration>`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue