Grant Sanderson
d1314e5a3c
Catch screeninfo.ScreenInfoError error
2024-07-31 15:23:41 +02:00
Grant Sanderson
557cb66c52
Fix transparent background videos
2023-02-15 09:38:35 -08:00
Grant Sanderson
e1bb360e0b
Add CLI args for setting video codec and pixel forma
2023-02-03 12:46:01 -08:00
Grant Sanderson
b25f022859
Make it an option (default to false) to prerun a scene to calculate its number of frames
2023-02-03 11:06:07 -08:00
Grant Sanderson
a1595a9e2f
Use separate fbo for writing to file when window is active
2023-01-25 22:34:11 -08:00
Grant Sanderson
8a6deb4068
Enable recording during a Scene embed
2023-01-23 17:10:18 -08:00
Grant Sanderson
03080a10a7
Small style tweaks
2023-01-23 15:05:10 -08:00
Grant Sanderson
71815fd7de
Add (optional) error sound for exceptions in Scene.embed
2022-12-29 14:58:40 -08:00
Grant Sanderson
cba101995f
Allow for customizable exception display mode with Scene.embed
2022-12-29 14:38:25 -08:00
Grant Sanderson
623aef41f8
Rename get_camera_configuration -> get_camera_config
2022-12-20 09:36:07 -08:00
Grant Sanderson
9f71f87278
Refactor config.py
2022-12-20 09:31:02 -08:00
Grant Sanderson
a26fe605b3
Slight refactor for inserted_embed_line
2022-12-19 21:17:44 -08:00
Grant Sanderson
5c7caee902
Go back to writing a new file for insert_embed, but edit the module's __file__ attribute
2022-12-19 21:14:29 -08:00
Grant Sanderson
99dbf6b8c3
Edited insert_embed_line to write over existing file rather than creating a new one
...
Otherwise behavior of things like __file__ is not as expected.
2022-12-18 10:50:17 -08:00
Grant Sanderson
c00af3c1bf
Rename config_ops -> dict_ops
2022-12-16 18:59:23 -08:00
Grant Sanderson
0c75d79080
Have window default to half monitor width instead of half height
2022-09-13 11:46:33 -07:00
Grant Sanderson
69bb4f026c
Make sure Window matches aspect ratio of Camera
2022-07-19 12:57:25 -07:00
Grant Sanderson
0406557b5c
Make sure CLI resolution updates will work
2022-07-19 12:46:45 -07:00
Grant Sanderson
77309a634b
Fix to embed insertion
2022-05-29 16:37:00 -07:00
Grant Sanderson
6decb0c32a
Rename frame_rate -> fps
2022-05-14 17:47:31 -07:00
Grant Sanderson
dd5d239971
Change convention for how camera_qualities are represented in default_config.yml
2022-05-14 17:29:07 -07:00
Grant Sanderson
584e259b44
Bug fix for mirrored directories
2022-05-11 12:44:51 -07:00
Grant Sanderson
c4d452248a
Move mirror output path logic to config.py
2022-05-04 21:21:49 -07:00
Grant Sanderson
602fbd1a9f
Fix -e for first line of scene
2022-05-01 15:31:31 -04:00
Grant Sanderson
52259af5df
Don't show animation progress bar by default
2022-04-27 11:19:20 -07:00
Grant Sanderson
efe051b8e1
Revert to -e to create a new temporary file, rather than writing over the original
2022-04-24 10:28:53 -07:00
Grant Sanderson
d733687834
Have -e write over original source file, then correct
2022-04-23 10:16:11 -07:00
Grant Sanderson
2ba9243067
Merge branch 'master' of github.com:3b1b/manim into video-work
2022-04-23 09:03:53 -07:00
Grant Sanderson
71c14969df
Refactor -e flag hackiness
2022-04-22 15:41:23 -07:00
Grant Sanderson
bb7fa2c8aa
Update behavior of -e flag to take in (optional) strings as inputs
2022-04-22 10:17:15 -07:00
YishiMichael
9ef9961d0e
Sort imports
2022-04-12 19:19:59 +08:00
TonyCrane
f29ef87bba
style/docs: fix argument help style and update docs for it
2022-02-14 19:50:30 +08:00
Grant Sanderson
602809758e
Video work ( #1739 )
...
* Enable setting points to a null list, and adding one point at a time.
* Add refresh_locked_data
* Add presenter mode to scenes with -p option
* Allow for an embed by hitting e during interaction
* Add set_min_height, etc.
* Make sure null parametric curve has at least one point
* Account for edge case where \{ is used in Tex
* Allow for logging notes in wait calls, useful for presenter mode
* Simplify choose, and add gen_choose for fractional amounts
* Default to no top on axes
* Allow match_x, match_y, etc. to take in a point
* Allow wait calls to ignore presenter mode
* Just use math.combo, no caching with choose(n, r)
* Use generator instead of list in bezier
* Bubble init_colors should override
* Account for "px" values read in from an svg
* Stop displaying when writing is happening
* Update the way Bubble override SVG colors
2022-02-13 15:16:16 -08:00
TonyCrane
0af46e149d
add metavar LINENO
for --embed option
2021-12-14 12:14:04 +08:00
Grant Sanderson
b81f244c3c
Inserted "self.embed" line should match passed in line number
2021-12-13 16:03:36 -08:00
Grant Sanderson
98b0d266d2
Make sure skip_animations and start_at_animation_number play well together
2021-12-07 10:03:10 -08:00
Grant Sanderson
fbbea47d11
Change temp embed file name
2021-11-16 17:37:01 -08:00
Grant Sanderson
d065e1973d
Add option to insert embed line from the command line (mildly hacky)
2021-11-14 12:31:56 -08:00
Grant Sanderson
317a5d6226
Make it possible to set full screen preview as a default
2021-11-08 21:47:02 -08:00
TonyCrane
e10f850d0d
add cli flag to specify log level
2021-10-16 21:01:39 +08:00
Michael W
0e574882b3
Refactor #1637 ( #1650 )
...
* Refactor #1637
* Refactor #1637
* Refactor #1637
* Refactor #1637
* Refactor #1637
* Refactor #1637
* Update config.py
Co-authored-by: 鹤翔万里 <tonycrane@foxmail.com>
2021-10-16 13:04:52 +08:00
TonyCrane
7425057d9f
use rich to log
2021-10-07 17:37:10 +08:00
TonyCrane
ef5253f1bc
add cli flag -v to show version info
2021-10-06 17:54:28 +08:00
TonyCrane
c1242d2dd5
add warning for empty
2021-10-06 17:21:56 +08:00
TonyCrane
6340db1076
small improvement to config_file
2021-06-14 16:21:38 +08:00
GZTime
65d0826b91
Update config.py to load config file manually.
2021-04-09 21:32:52 +08:00
Grant Sanderson
120d26defa
If chosen monitor is not available, choose one that does exist
2021-03-18 17:32:45 -07:00
Grant Sanderson
dba0550da5
Merge branch 'TonyCrane-package-improve'
2021-02-11 10:54:30 -08:00
Grant Sanderson
36e8421395
Let the user specify which monitor the window should show up in
2021-02-09 10:53:26 -08:00
Tony031218
944128d9bf
adjust the order of arguments in config
2021-02-08 12:16:57 +08:00