Commit graph

250 commits

Author SHA1 Message Date
Grant Sanderson
22c5e79f5f Some cleanups to the way scenes end 2022-05-03 12:41:44 -07:00
Grant Sanderson
a6fcfa3b40 Add time_span option to Animation 2022-05-02 11:40:42 -07:00
Grant Sanderson
fddb0b29e1 Remove unnecessary import 2022-05-02 11:38:58 -07:00
Grant Sanderson
a09c440281 Slight tweaks to crosshair 2022-05-02 11:13:05 -07:00
Grant Sanderson
c019210015 Have InteractiveScene ignore state of crosshair and selection_highlight 2022-05-02 11:12:04 -07:00
Grant Sanderson
75e1cff579 Reorganize how scene state is managed 2022-05-02 11:11:18 -07:00
Grant Sanderson
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
Grant Sanderson
4a8e8e5447 Clear later checkpoints 2022-05-01 15:31:42 -04:00
Grant Sanderson
33ffd4863a Add crosshair 2022-05-01 15:31:07 -04:00
Grant Sanderson
6a664ece78 Rename InteractiveScene.colors -> InteractiveScene.palette_colors 2022-04-28 19:16:11 -04:00
Grant Sanderson
a791a82111 Bug fix 2022-04-28 19:15:26 -04:00
Grant Sanderson
7f94a401a8 Wait on start for presenter mode 2022-04-28 12:15:00 -06:00
Grant Sanderson
ac08963fef Have selection_highlight refresh with an updater 2022-04-28 11:59:21 -06:00
Grant Sanderson
e83ad785ca Handle quitting during scene more gracefully 2022-04-27 11:19:44 -07:00
Grant Sanderson
52259af5df Don't show animation progress bar by default 2022-04-27 11:19:20 -07:00
Grant Sanderson
7c233123a1 Tweaks and fixes to InteractiveScene 2022-04-27 09:55:46 -07:00
Grant Sanderson
d75439a60e Hacky fix to lambda namespace issues with IPython embeds 2022-04-27 09:54:29 -07:00
Grant Sanderson
1b589e336f Add checkpoints to Scene 2022-04-27 09:53:56 -07:00
Grant Sanderson
d6bf9f00a1 Slight tweaks 2022-04-25 10:25:35 -07:00
Grant Sanderson
42d1f48c60 Only leave wait notes in presenter mode 2022-04-25 09:55:49 -07:00
Grant Sanderson
01f0dd30d0 Have Scene.remove look at extended ancestry 2022-04-25 09:55:00 -07:00
Grant Sanderson
d43b5c9bdc Fix shift + s gather selection bug 2022-04-24 13:32:26 -07:00
Grant Sanderson
f2b4245c13 Slight speed-up to InteractiveScene.gather_selection 2022-04-24 13:24:55 -07:00
Grant Sanderson
cc8922155d Make sure Scene.remove clears internal mobject list of family members of args 2022-04-24 13:23:02 -07:00
Grant Sanderson
6310e2fb64 Clean up Scene.remove function, delete restructure_list_to_exclude_certain_family_members 2022-04-24 10:29:31 -07:00
Grant Sanderson
205116b8ce Fix refresh_selection_highlight 2022-04-23 18:52:44 -07:00
Grant Sanderson
bd2dce0830 When scene saves state, have it only copy mobjects which have changed 2022-04-23 18:52:26 -07:00
Grant Sanderson
0fd8491c51 Move Command + z and Command + shift + z behavior to Scene 2022-04-23 09:20:44 -07:00
Grant Sanderson
2ba9243067 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-23 09:03:53 -07:00
Grant Sanderson
754316bf58 Factor out event handling 2022-04-22 23:14:19 -07:00
Grant Sanderson
04bca6cafb Refresh static mobjects on undo's and redo's 2022-04-22 23:14:00 -07:00
Grant Sanderson
3961005fd7 Rename is_movable to interaction_allowed 2022-04-22 19:17:39 -07:00
Grant Sanderson
7b342a2759 Remove unnecessary lines 2022-04-22 19:03:00 -07:00
Grant Sanderson
b2e0aee93e Get rid of ctrl + shift + e embed option 2022-04-22 11:46:18 -07:00
Grant Sanderson
cf466006fa Add undo and redo stacks for scene, together with Command + Z functionality 2022-04-22 11:44:28 -07:00
Grant Sanderson
b9751e9d06 Add cursor location label 2022-04-22 10:17:29 -07:00
Grant Sanderson
e0f5686d66 Fix bug with trying to close window during embed 2022-04-22 10:16:43 -07:00
Grant Sanderson
581228b08f Have scene keep track of a map from mobject ids to mobjects for all it's ever seen 2022-04-22 08:33:57 -07:00
Grant Sanderson
c96bdc243e Update Scene.embed to play nicely with gui interactions 2022-04-22 08:16:17 -07:00
Grant Sanderson
5927f6a1cd Default to "" for scene_file_writer output dir 2022-04-22 08:14:29 -07:00
YishiMichael
37075590b5
Sort imports 2022-04-22 16:42:45 +08:00
YishiMichael
f226aa7314
Merge branch '3b1b:master' into master 2022-04-22 15:02:59 +08:00
Grant Sanderson
b4b72d1b68 Allow stretched-resizing 2022-04-21 15:31:46 -07:00
Grant Sanderson
78a7078772 Move saved mobject directory logic to scene_file_writer.py 2022-04-21 15:02:11 -07:00
Grant Sanderson
4caa033323 Allow for sweeping selection 2022-04-21 15:01:54 -07:00
Grant Sanderson
3a60ab144b Remove saved mobject directory logic from InteractiveScene 2022-04-21 15:01:30 -07:00
Grant Sanderson
f53f202dcd A few small cleanups 2022-04-21 15:00:58 -07:00
Grant Sanderson
6474e25fcd A few small updates to InteractiveScene 2022-04-21 00:28:37 -07:00
Grant Sanderson
d24b8ff48f
Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
Grant Sanderson
c3afc84bfe Add a rudimentary InteractiveScene to allow for Mobject editing in a GUI fashion 2022-04-20 21:54:16 -07:00