3b1b-manim/manimlib
Splines 1fa17030a2
Add reload() command for interactive scene reloading (#2240)
* Init reload command (lots of things not working yet)

* Add back in class line (accidentally deleted)

* Add back in key modifiers (accidentally deleted)

* Unpack tuple from changed `get_module`

* Init MainRunManager & respawn IPython shell

* Init cleanup of scenes from manager

* Restore string quotes

* Still take `self.preview` into account

* Remove left-over code from module experimentation

* Remove double window activation

* Reset scenes array in RunManager

* Move self.args None check up

* Use first available window

* Don't use constructor for RunManager

* Use self. syntax

* Init moderngl context manually

* Add some comments for failed attempts to reset scene

* Reuse existing shell (this fixed the bug 🎉)

* Remove unused code

* Remove unnecessary intermediate ReloadSceneException

* Allow users to finally exit

* Rename main_run_manager to reload_manager

* Add docstrings to `ReloadManager`

* Improve reset management in window

* Clarify why we use magic exit_raise command

* Add comment about window reuse

* Improve docstrings in ReloadManager & handle case of 0 scenes

* Set scene and title earlier

* Run linter suggestions
2024-11-26 10:09:43 -08:00
..
animation Change default animation behavior to suspend_mobject_updating=False 2024-09-28 09:48:20 -05:00
camera revert changes in mobject.py and camera.py 2024-10-27 14:10:12 -03:00
event_handler Add white space after assert statements 2024-08-16 12:15:55 -05:00
mobject Update parameter range for sphere 2024-11-25 12:39:41 -07:00
scene Add reload() command for interactive scene reloading (#2240) 2024-11-26 10:09:43 -08:00
shaders Temporary band-aide for degenerate normal vector calculations 2024-11-25 12:39:32 -07:00
utils Fix import of pyplot 2024-11-25 10:49:05 -07:00
__init__.py Remove redundancy 2024-03-21 14:34:39 -03:00
__main__.py Add reload() command for interactive scene reloading (#2240) 2024-11-26 10:09:43 -08:00
config.py Clean up changes associated with fixing aspect ratio issue 2024-09-06 12:50:19 -05:00
constants.py Properly check modifier keys. 2024-10-25 00:01:30 +02:00
default_config.yml Allow more file_writer configuration in default_config.yml 2024-08-22 14:24:26 -05:00
extract_scene.py Clean up get_scenes_to_render 2023-02-03 11:45:47 -08:00
logger.py Sort imports 2022-04-12 19:19:59 +08:00
reload_manager.py Add reload() command for interactive scene reloading (#2240) 2024-11-26 10:09:43 -08:00
shader_wrapper.py Fix negative winding issue 2024-10-23 17:40:31 -05:00
tex_templates.yml Update tex_templates.yml 2024-06-04 23:47:19 +08:00
typing.py Use typing_extensions to import Self for python versions <3.11 2023-02-02 10:54:47 -08:00
window.py Add reload() command for interactive scene reloading (#2240) 2024-11-26 10:09:43 -08:00