49 Commits

Author SHA1 Message Date
9fcdd0de5f Use pyglet.window.key for key constant values 2024-12-10 20:00:03 -06:00
9f785a5fba Move key to int constants to interactive_scene.py 2024-12-10 19:42:53 -06:00
7a69807ce6 Remove mobject.save_to_file
This simply didn't work, and had no resilience to changes to the library. For cases where this might be useful, it's likely much better deliberately save specific data which is time-consuming to generate on the fly.
2024-12-09 16:24:50 -06:00
5d3f730824 Cleaning up some imports + Minor Bug fixed in VectorField (#2253)
* cleaning up imports

* sample_points -> sample_coords
2024-12-05 14:42:46 -08:00
dc731f8bf2 Properly check modifier keys. 2024-10-25 00:01:30 +02:00
cf37f34e1f Add copy cursor position option 2024-10-01 13:05:00 -05:00
a7765dcac3 Change copy frame position command 2024-07-31 15:24:25 +02:00
dfa96c2047 Update copy_frame_positioning 2024-02-03 18:49:04 -06:00
9cadfa1818 Make it so that copying a mobject will copy its name, if applicable 2023-02-02 14:46:07 -08:00
b9d37a9f7e Add copy_frame_anim_call 2023-02-02 14:46:07 -08:00
3c0d682efc Change clicking behavior in InteractiveScene 2023-02-02 14:46:07 -08:00
09900456f7 Clean up pixel_coords_to_space_coords to work better in 3d 2023-01-28 22:30:46 -08:00
3c8e3792e7 Remove references to refresh_static_mobjects 2023-01-25 19:20:11 -08:00
aa6c321a0a Change InteractiveScene dot config 2023-01-24 14:25:02 -08:00
24864a3d61 Small tweak 2023-01-21 11:13:22 -08:00
8e1fdd5a79 Change crosshair style 2023-01-20 21:38:36 -08:00
599f74c749 Refresh bounding boxes after selection 2023-01-13 14:59:53 -08:00
73a894c136 Set selection animating status after adding mobjects 2023-01-13 13:07:29 -08:00
5fac213fee Change crosshair initialization 2023-01-11 19:27:34 -08:00
c0fba529d9 Update crosshair for new path structure 2023-01-11 14:20:33 -08:00
8cc7616271 Bind 'u' to unselection 2022-11-18 09:12:12 -08: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
cef7c383a5 Add scene time to information that can be displayed with the appropriate key press 2022-05-11 12:46:56 -07:00
d662971559 Larger cursor location label 2022-05-04 21:22:00 -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
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
ac08963fef Have selection_highlight refresh with an updater 2022-04-28 11:59:21 -06:00
7c233123a1 Tweaks and fixes to InteractiveScene 2022-04-27 09:55:46 -07:00
065900c6ac Some refactors 2022-04-27 23:04:24 +08:00
d43b5c9bdc Fix shift + s gather selection bug 2022-04-24 13:32:26 -07:00
f2b4245c13 Slight speed-up to InteractiveScene.gather_selection 2022-04-24 13:24:55 -07:00
205116b8ce Fix refresh_selection_highlight 2022-04-23 18:52:44 -07:00
0fd8491c51 Move Command + z and Command + shift + z behavior to Scene 2022-04-23 09:20:44 -07:00
2ba9243067 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-23 09:03:53 -07:00
754316bf58 Factor out event handling 2022-04-22 23:14:19 -07:00
3961005fd7 Rename is_movable to interaction_allowed 2022-04-22 19:17:39 -07:00
7b342a2759 Remove unnecessary lines 2022-04-22 19:03:00 -07:00
cf466006fa Add undo and redo stacks for scene, together with Command + Z functionality 2022-04-22 11:44:28 -07:00
b9751e9d06 Add cursor location label 2022-04-22 10:17:29 -07:00
37075590b5 Sort imports 2022-04-22 16:42:45 +08:00
b4b72d1b68 Allow stretched-resizing 2022-04-21 15:31:46 -07:00
4caa033323 Allow for sweeping selection 2022-04-21 15:01:54 -07:00
3a60ab144b Remove saved mobject directory logic from InteractiveScene 2022-04-21 15:01:30 -07:00
f53f202dcd A few small cleanups 2022-04-21 15:00:58 -07:00
6474e25fcd A few small updates to InteractiveScene 2022-04-21 00:28:37 -07:00
c3afc84bfe Add a rudimentary InteractiveScene to allow for Mobject editing in a GUI fashion 2022-04-20 21:54:16 -07:00