Commit graph

14 commits

Author SHA1 Message Date
Grant Sanderson
744e695340
Misc. clean up (#2269)
* Comment tweak

* Directly print traceback

Since the shell.showtraceback is giving some issues

* Make InteracrtiveSceneEmbed into a class

This way it can keep track of it's internal shell; use of get_ipython has a finicky relationship with reloading.

* Move remaining checkpoint_paste logic into scene_embed.py

This involved making a few context managers for Scene: temp_record, temp_skip, temp_progress_bar, which seem useful in and of themselves.

* Change null key to be the empty string

* Ensure temporary svg paths for Text are deleted

* Remove unused dict_ops.py functions

* Remove break_into_partial_movies from file_writer configuration

* Rewrite guarantee_existence using Path

* Clean up SceneFileWriter

It had a number of vestigial functions no longer used, and some setup that could be made more organized.

* Remove --save_pngs CLI arg (which did nothing)

* Add --subdivide CLI arg

* Remove add_extension_if_not_present

* Remove get_sorted_integer_files

* Have find_file return Path

* Minor clean up

* Clean up num_tex_symbols

* Fix find_file

* Minor cleanup for extract_scene.py

* Add preview_frame_while_skipping option to scene config

* Use shell.showtraceback function

* Move keybindings to config, instead of in-place constants

* Replace DEGREES -> DEG
2024-12-12 08:39:54 -08:00
Grant Sanderson
1794e4d0ba Better align docs description of configuration with the updated format 2024-12-11 07:37:52 -06:00
Grant Sanderson
d5c36de3c5 DEFAULT_MOBJECT_TO_MOBJECT_BUFFER -> DEFAULT_MOBJECT_TO_MOBJECT_BUFF
Some checks are pending
docs / build up document and deploy (push) Waiting to run
And likewise DEFAULT_MOBJECT_TO_MOBJECT_BUFFER -> DEFAULT_MOBJECT_TO_MOBJECT_BUFF
2024-12-10 19:23:15 -06:00
TonyCrane
3c7a38660a
small fix 2022-06-28 09:16:06 +08:00
TonyCrane
606ee5e4f1
update docs 2022-06-28 09:13:41 +08:00
Grant Sanderson
6decb0c32a Rename frame_rate -> fps 2022-05-14 17:47:31 -07:00
YishiMichael
6ad8636fab
Adjust some typings (#1765)
* Adjust some typings

* Adjust typings
2022-03-23 14:17:34 +08:00
TonyCrane
f16277f100 some fixes of doc 2021-06-14 13:30:37 +08:00
TonyCrane
025639f026 update doc 2021-06-14 07:55:17 +08:00
Tony031218
24d9d9e45d update docs 2021-02-08 12:04:29 +08:00
Tony031218
8f9ce57de5 update custom_default doc and fix a list 2021-01-31 22:29:19 +08:00
Tony031218
09ae714edb fix
add a link to Chinese version in home page

fix a list wrong display

fix color list
2021-01-31 21:37:53 +08:00
Tony031218
2fd4d7a2c4 finish config, structure, constants and custom_default 2021-01-26 14:57:05 +08:00
Tony031218
bb62ff4cd6 set up structure 2021-01-24 14:51:06 +08:00