287 Commits

Author SHA1 Message Date
d79e1d6ed8 Move shell instantiation to beginning of checkpoint_paste 2022-12-19 11:36:28 -08:00
6615a912bd Add default_camera_config class variable to Scene, likewise for window and file_writer configuration 2022-12-19 11:35:43 -08:00
99fa3ee620 Refactor Scene.embed and checkpoint_paste 2022-12-19 10:51:26 -08:00
e5c13ba9d7 Use shell.run_cell instead of paste line magic
Because %paste -q line magic introduces issues with IPython 8.2 and above
2022-12-18 12:20:14 -08:00
4f6c387a03 Edit interact message 2022-12-18 12:01:33 -08:00
38c4fd8770 Remove unnecessary save 2022-12-18 11:54:57 -08:00
3e4b6a7fb0 Add show_progress and skip options to checkpoint_paste 2022-12-18 11:21:57 -08:00
af471161ea Fix 'Failed to get module" warning with Scene embed 2022-12-18 11:11:08 -08:00
c96cdf43a1 Make sure mutability of dict arguments won't cause problems
One could argue that a pattern of "arg: dict | None = None" followed by "self.param = arg or dict()" is better, but that would make for an inconsistent pattern in cases where the default argument is not None.
2022-12-18 09:38:28 -08:00
38db5ca9b9 Replace handle_play_like_call with pre_play and post_play method 2022-12-17 18:59:05 -08:00
810f2c67ab Make handle_play_like_call a static method 2022-12-17 18:11:38 -08:00
bd537afe72 Remove skip and show_progress options of checkpoint_paste 2022-12-17 18:11:25 -08:00
a4272d11a2 Finish last(?) digest_config vestige 2022-12-16 15:21:31 -08:00
afab37c2d2 Remove stray digest_config references 2022-12-16 11:00:59 -08:00
33b4e617a6 Move ThreeDScene to once_useful_constructs 2022-12-15 08:09:31 -08:00
c57f1f997a Kill CONFIG in vector_space_scene and move to once_useful_constructs 2022-12-15 08:08:40 -08:00
0b994db0ec Make camera_config changable as a class variable 2022-12-14 17:14:53 -08:00
69b0b0727e Kill CONFIG in scene_file_writer.py 2022-12-14 17:07:05 -08:00
013bf8b639 Kill CONFIG in scene.py 2022-12-14 17:01:46 -08:00
98a969242a Add (optional) quieting for checkpoint_paste 2022-12-14 11:02:51 -08:00
7de03e2541 Change/refactor progress display defaults in scene file writing 2022-11-18 09:12:40 -08:00
8cc7616271 Bind 'u' to unselection 2022-11-18 09:12:12 -08:00
eff9e6f732 Animate resetting 2022-07-19 12:38:02 -07:00
117a34dc67 Change crosshair behavior 2022-05-23 11:08:08 -07:00
cece830349 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-05-17 09:19:47 -07:00
6decb0c32a Rename frame_rate -> fps 2022-05-14 17:47:31 -07:00
5f56778cdf Don't update frame during window closing on cell execution 2022-05-14 17:28:11 -07:00
f741217c34 Make sure keyboard interrupted renders don't overwrite pre-existing video files 2022-05-11 12:48:08 -07:00
11d19b6d57 Update frame at the end of each checkpoint_paste 2022-05-11 12:47:42 -07:00
97643d788d Default to showing animation progress in embedded runs 2022-05-11 12:47:21 -07:00
cef7c383a5 Add scene time to information that can be displayed with the appropriate key press 2022-05-11 12:46:56 -07:00
41b811a5e7 Update frame on all play calls when skipping animations, so as to provide a rapid preview during scene loading 2022-05-04 21:22:48 -07:00
93fc81ac9d Add show_progress option to checkpoint_paste 2022-05-04 21:22:22 -07:00
d662971559 Larger cursor location label 2022-05-04 21:22:00 -07:00
c4d452248a Move mirror output path logic to config.py 2022-05-04 21:21:49 -07:00
a9a151d4ef Have presenter mode hold before first play call 2022-05-03 12:45:16 -07:00
22c5e79f5f Some cleanups to the way scenes end 2022-05-03 12:41:44 -07:00
a6fcfa3b40 Add time_span option to Animation 2022-05-02 11:40:42 -07:00
fddb0b29e1 Remove unnecessary import 2022-05-02 11:38:58 -07:00
a09c440281 Slight tweaks to crosshair 2022-05-02 11:13:05 -07:00
c019210015 Have InteractiveScene ignore state of crosshair and selection_highlight 2022-05-02 11:12:04 -07:00
75e1cff579 Reorganize how scene state is managed 2022-05-02 11:11:18 -07:00
feab79c260 Get rid of overly complicated anims_from_play_args (which means old style method building is no longer supported) 2022-05-02 11:10:57 -07:00
4a8e8e5447 Clear later checkpoints 2022-05-01 15:31:42 -04:00
33ffd4863a Add crosshair 2022-05-01 15:31:07 -04:00
6a664ece78 Rename InteractiveScene.colors -> InteractiveScene.palette_colors 2022-04-28 19:16:11 -04:00
a791a82111 Bug fix 2022-04-28 19:15:26 -04:00
7f94a401a8 Wait on start for presenter mode 2022-04-28 12:15:00 -06:00
ac08963fef Have selection_highlight refresh with an updater 2022-04-28 11:59:21 -06:00
e83ad785ca Handle quitting during scene more gracefully 2022-04-27 11:19:44 -07:00