Grant Sanderson
85e90a1488
Don't print info for pre-run scene
2021-12-07 10:07:15 -08:00
Grant Sanderson
9dd1f47dab
Create single progress display for full scene render
...
When a scene is written to file, it will now do a preliminary run of a copy of the scene with skip_animations turned on to count the total frames, which has the added benefit of catching runtime errors early, and allowing an quicker preview of the last frame to be sure everything will render as expected.
The Progress display bars for individual animations are replaced with a more global progress display bar showing the full render time for the scene.
This has the downside that all the non-rendering computations in a scene are run twice, so any scene with slow computations unrelated to rendering will take longer. But those are rarer, so the benefits seem worth it.
2021-11-30 11:41:33 -08:00
TonyCrane
7425057d9f
use rich to log
2021-10-07 17:37:10 +08:00
Tony031218
00fe33957c
rename custom_defaults -> custom_config defaults -> default_config
2021-02-07 21:38:19 +08:00
Sahil Makhijani
c0f6e94545
Removed unused import that was added by IDE autocomplete!!
2021-02-05 13:11:26 +05:30
Sahil Makhijani
390bfac9df
prompt_user_for_choice now prompts for Scene Name or Number
2021-02-05 13:09:03 +05:30
Pedro Maia
b1efee5088
Grammar correction
...
mulziple -> multiple, line 35.
2021-02-04 11:30:13 -03:00
Tony031218
78848b971c
fix a wrong usage of logging.log
2021-01-15 20:21:17 +08:00
Grant Sanderson
6da1836f02
Take scene finding messages out of constants
2021-01-02 22:26:49 -08:00
Grant Sanderson
e01496e8bd
Rearrange how passing in no module or scenes is handled
2021-01-02 22:20:13 -08:00
Grant Sanderson
93fe783b80
Make it so that simply typing 'python -m manim' will embed you in a blank scene to work with
2021-01-02 22:03:00 -08:00
Grant Sanderson
cf01a215db
Stop treating extract_scene like a script
2021-01-02 19:03:01 -08:00
Tony031218
8b2785fdc9
fix bugs in extract_scene.py
2021-01-02 19:17:11 +08:00
Grant Sanderson
ebd4016fb3
Small refactor of extract_scene et. al.
2020-02-11 19:52:14 -08:00
xy-23
82a1b05f28
Add a feature #650
2019-07-26 14:34:21 +08:00
zavden
3cee3de94f
Update extract_scene.py
2019-07-24 18:01:12 -05:00
Grant Sanderson
4fa782b8b5
Remove extract_scene use of an All_SCENES list
2019-04-21 08:12:44 -07:00
Pokechu22
3393bf616b
Fix --preview on cygwin
2019-04-03 21:10:20 -07:00
Grant Sanderson
0255627922
Allow scene extraction from a special file which contains an ALL_SCENE_CLASSES list and an OUTPUT_DIRECTORY. This is part of a move to make the output file organization independent from the sourcecode organization
2019-01-25 11:03:14 -08:00
Grant Sanderson
900e6ac837
Use frame_rate, instead of frame_duration, and make that part of the camera rather than the scene
2019-01-25 10:13:17 -08:00
Grant Sanderson
8ae0556394
First pass at SceneFileWriter refactor
2019-01-24 21:47:40 -08:00
Grant Sanderson
214ba5979b
Added --leave_progress_bars option, with the deault being to remove them
2019-01-16 11:08:14 -08:00
Grant Sanderson
199a3b82c6
Make it possible to render multiple scenes
2019-01-12 12:31:29 -08:00
Grant Sanderson
d98d1ec610
Changed default behavior to have no finishing sound, and instead of passing in --no-sound to prevent the sound, one would pass in --sound to activate it
2019-01-07 13:24:16 -08:00
Grant Sanderson
b7cb66fe5d
Tiny PEP fix
2019-01-04 12:46:52 -08:00
Devin Neal
4d069db15c
add option to suppress success/failure sound ( #385 )
2018-12-30 12:53:38 -08:00
F.W
11781a5baa
Use os.openfile() on Windows and gitignore media folder ( #384 )
...
* Gitignored media and .vscode
* Switched to os.startfile for Windows
2018-12-29 17:37:28 -08:00
Devin Neal
54d43313be
print to stderr for scene not found
2018-12-28 23:06:14 -08:00
Devin Neal
afdf907abc
fix imports, remove __init__.py files, some pep8 linting
2018-12-27 09:41:41 -08:00
Devin Neal
e294c67801
add error codes to exits
2018-12-26 20:57:01 -08:00
Devin Neal
9366accf59
support for inline scenes
2018-12-26 20:57:01 -08:00
Devin Neal
3543a750ba
move library code into manimlib, replace relative imports with absolute imports
2018-12-26 20:57:01 -08:00