mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00

* 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
78 lines
2.8 KiB
Python
78 lines
2.8 KiB
Python
import pkg_resources
|
|
|
|
__version__ = pkg_resources.get_distribution("manimgl").version
|
|
|
|
from typing import TYPE_CHECKING
|
|
|
|
if TYPE_CHECKING:
|
|
from manimlib.typing import *
|
|
|
|
from manimlib.constants import *
|
|
|
|
from manimlib.window import *
|
|
|
|
from manimlib.animation.animation import *
|
|
from manimlib.animation.composition import *
|
|
from manimlib.animation.creation import *
|
|
from manimlib.animation.fading import *
|
|
from manimlib.animation.growing import *
|
|
from manimlib.animation.indication import *
|
|
from manimlib.animation.movement import *
|
|
from manimlib.animation.numbers import *
|
|
from manimlib.animation.rotation import *
|
|
from manimlib.animation.specialized import *
|
|
from manimlib.animation.transform import *
|
|
from manimlib.animation.transform_matching_parts import *
|
|
from manimlib.animation.update import *
|
|
|
|
from manimlib.camera.camera import *
|
|
|
|
from manimlib.mobject.boolean_ops import *
|
|
from manimlib.mobject.changing import *
|
|
from manimlib.mobject.coordinate_systems import *
|
|
from manimlib.mobject.frame import *
|
|
from manimlib.mobject.functions import *
|
|
from manimlib.mobject.geometry import *
|
|
from manimlib.mobject.interactive import *
|
|
from manimlib.mobject.matrix import *
|
|
from manimlib.mobject.mobject import *
|
|
from manimlib.mobject.mobject_update_utils import *
|
|
from manimlib.mobject.number_line import *
|
|
from manimlib.mobject.numbers import *
|
|
from manimlib.mobject.probability import *
|
|
from manimlib.mobject.shape_matchers import *
|
|
from manimlib.mobject.svg.brace import *
|
|
from manimlib.mobject.svg.drawings import *
|
|
from manimlib.mobject.svg.string_mobject import *
|
|
from manimlib.mobject.svg.svg_mobject import *
|
|
from manimlib.mobject.svg.special_tex import *
|
|
from manimlib.mobject.svg.tex_mobject import *
|
|
from manimlib.mobject.svg.text_mobject import *
|
|
from manimlib.mobject.three_dimensions import *
|
|
from manimlib.mobject.types.dot_cloud import *
|
|
from manimlib.mobject.types.image_mobject import *
|
|
from manimlib.mobject.types.point_cloud_mobject import *
|
|
from manimlib.mobject.types.surface import *
|
|
from manimlib.mobject.types.vectorized_mobject import *
|
|
from manimlib.mobject.value_tracker import *
|
|
from manimlib.mobject.vector_field import *
|
|
|
|
from manimlib.scene.interactive_scene import *
|
|
from manimlib.scene.scene import *
|
|
|
|
from manimlib.utils.bezier import *
|
|
from manimlib.utils.cache import *
|
|
from manimlib.utils.color import *
|
|
from manimlib.utils.dict_ops import *
|
|
from manimlib.utils.debug import *
|
|
from manimlib.utils.directories import *
|
|
from manimlib.utils.file_ops import *
|
|
from manimlib.utils.images import *
|
|
from manimlib.utils.iterables import *
|
|
from manimlib.utils.paths import *
|
|
from manimlib.utils.rate_functions import *
|
|
from manimlib.utils.simple_functions import *
|
|
from manimlib.utils.shaders import *
|
|
from manimlib.utils.sounds import *
|
|
from manimlib.utils.space_ops import *
|
|
from manimlib.utils.tex import *
|