3b1b-manim/manimlib/mobject
Grant Sanderson 94f6f0aa96
Cleaner local caching of Tex/Text data, and partially cleaned up configuration (#2259)
* Remove print("Reloading...")

* Change where exception mode is set, to be quieter

* Add default fallback monitor for when no monitors are detected

* Have StringMobject work with svg strings rather than necessarily writing to file

Change SVGMobject to allow taking in a string of svg code as an input

* Add caching functionality, and have Tex and Text both use it for saved svg strings

* Clean up tex_file_writing

* Get rid of get_tex_dir and get_text_dir

* Allow for a configurable cache location

* Make caching on disk a decorator, and update implementations for Tex and Text mobjects

* Remove stray prints

* Clean up how configuration is handled

In principle, all we need here is that manim looks to the default_config.yaml file, and updates it based on any local configuration files, whether in the current working directory or as specified by a CLI argument.

* Make the default size for hash_string an option

* Remove utils/customization.py

* Remove stray prints

* Consolidate camera configuration

This is still not optimal, but at least makes clearer the way that importing from constants.py kicks off some of the configuration code.

* Factor out configuration to be passed into a scene vs. that used to run a scene

* Use newer extract_scene.main interface

* Add clarifying message to note what exactly is being reloaded

* Minor clean up

* Minor clean up

* If it's worth caching to disk, then might as well do so in memory too during development

* No longer any need for custom hash_seeds in Tex and Text

* Remove display_during_execution

* Get rid of (no longer used) mobject_data directory reference

* Remove get_downloads_dir reference from register_font

* Update where downloads go

* Easier use of subdirectories in configuration

* Add new pip requirements
2024-12-05 14:51:14 -08:00
..
svg Cleaner local caching of Tex/Text data, and partially cleaned up configuration (#2259) 2024-12-05 14:51:14 -08:00
types Add scale_stroke_with_zoom option to VMobject 2024-11-25 11:27:11 -07:00
__init__.py delete old entry point file and add __init__ for folders 2021-02-07 17:48:51 +08:00
boolean_ops.py Fix issue with Difference 2024-10-10 15:13:33 -05:00
changing.py Small cleanup on TracedPath 2024-08-06 10:23:46 -05:00
coordinate_systems.py Update coordinate_systems.py (#2258) 2024-12-05 14:49:16 -08:00
frame.py Cleaning up some imports + Minor Bug fixed in VectorField (#2253) 2024-12-05 14:42:46 -08:00
functions.py Replace VMobject.make_approximately_smooth with VMobject.make_smooth(approx=True) 2023-01-19 11:34:13 -08:00
geometry.py Cleaning up some imports + Minor Bug fixed in VectorField (#2253) 2024-12-05 14:42:46 -08:00
interactive.py Add white space after assert statements 2024-08-16 12:15:55 -05:00
matrix.py Cleaning up some imports + Minor Bug fixed in VectorField (#2253) 2024-12-05 14:42:46 -08:00
mobject.py Have clip plane recurse through family 2024-11-08 14:27:20 -06:00
mobject_update_utils.py Add white space after assert statements 2024-08-16 12:15:55 -05:00
number_line.py Replace numbers_with_elongated_ticks -> big_tick_numbers 2024-02-22 11:47:28 -08:00
numbers.py Cleaning up some imports + Minor Bug fixed in VectorField (#2253) 2024-12-05 14:42:46 -08:00
probability.py Add white space after assert statements 2024-08-16 12:15:55 -05:00
shape_matchers.py Cleaner local caching of Tex/Text data, and partially cleaned up configuration (#2259) 2024-12-05 14:51:14 -08:00
three_dimensions.py Update parameter range for sphere 2024-11-25 12:39:41 -07:00
value_tracker.py Use typing_extensions to import Self for python versions <3.11 2023-02-02 10:54:47 -08:00
vector_field.py Cleaning up some imports + Minor Bug fixed in VectorField (#2253) 2024-12-05 14:42:46 -08:00