mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Merge branch 'package-improve' of https://github.com/TonyCrane/manim into TonyCrane-package-improve
This commit is contained in:
commit
cb4b67655b
3 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
||||||
from manimlib import *
|
from manimlib import *
|
||||||
|
import numpy as np
|
||||||
|
|
||||||
# To watch one of these scenes, run the following:
|
# To watch one of these scenes, run the following:
|
||||||
# python -m manim example_scenes.py SquareToCircle
|
# python -m manim example_scenes.py SquareToCircle
|
||||||
|
|
|
@ -95,15 +95,15 @@ def parse_cli():
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Show the output file in finder",
|
help="Show the output file in finder",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
|
||||||
"--file_name",
|
|
||||||
help="Name for the movie or image file",
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--config",
|
"--config",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Guide for automatic configuration",
|
help="Guide for automatic configuration",
|
||||||
)
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"--file_name",
|
||||||
|
help="Name for the movie or image file",
|
||||||
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-n", "--start_at_animation_number",
|
"-n", "--start_at_animation_number",
|
||||||
help="Start rendering not from the first animation, but"
|
help="Start rendering not from the first animation, but"
|
||||||
|
|
|
@ -25,7 +25,7 @@ tex:
|
||||||
# executable: "xelatex -no-pdf"
|
# executable: "xelatex -no-pdf"
|
||||||
# template_file: "ctex_template.tex"
|
# template_file: "ctex_template.tex"
|
||||||
# intermediate_filetype: "xdv"
|
# intermediate_filetype: "xdv"
|
||||||
universal_import_line: "from manimlib.imports import *"
|
universal_import_line: "from manimlib import *"
|
||||||
style:
|
style:
|
||||||
font: "Consolas"
|
font: "Consolas"
|
||||||
background_color: "#333333"
|
background_color: "#333333"
|
||||||
|
|
Loading…
Add table
Reference in a new issue