42d1f48c60
Only leave wait notes in presenter mode
2022-04-25 09:55:49 -07:00
01f0dd30d0
Have Scene.remove look at extended ancestry
2022-04-25 09:55:00 -07: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
cc8922155d
Make sure Scene.remove clears internal mobject list of family members of args
2022-04-24 13:23:02 -07:00
6310e2fb64
Clean up Scene.remove function, delete restructure_list_to_exclude_certain_family_members
2022-04-24 10:29:31 -07:00
205116b8ce
Fix refresh_selection_highlight
2022-04-23 18:52:44 -07:00
bd2dce0830
When scene saves state, have it only copy mobjects which have changed
2022-04-23 18:52:26 -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
04bca6cafb
Refresh static mobjects on undo's and redo's
2022-04-22 23:14:00 -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
b2e0aee93e
Get rid of ctrl + shift + e embed option
2022-04-22 11:46:18 -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
e0f5686d66
Fix bug with trying to close window during embed
2022-04-22 10:16:43 -07:00
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
c96bdc243e
Update Scene.embed to play nicely with gui interactions
2022-04-22 08:16:17 -07:00
5927f6a1cd
Default to "" for scene_file_writer output dir
2022-04-22 08:14:29 -07:00
37075590b5
Sort imports
2022-04-22 16:42:45 +08:00
f226aa7314
Merge branch '3b1b:master' into master
2022-04-22 15:02:59 +08:00
b4b72d1b68
Allow stretched-resizing
2022-04-21 15:31:46 -07:00
78a7078772
Move saved mobject directory logic to scene_file_writer.py
2022-04-21 15:02:11 -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
d24b8ff48f
Merge branch 'master' into master
2022-04-20 22:40:11 -07:00
c3afc84bfe
Add a rudimentary InteractiveScene to allow for Mobject editing in a GUI fashion
2022-04-20 21:54:16 -07:00
eae7dbbe6e
Change default transparent background codec to be prores
2022-04-20 21:51:36 -07:00
a3579eab41
Have SceneFileWriter handle a location for saved mobjects
2022-04-20 21:51:18 -07:00
68e2909af1
Mild cleanup to Scene interactivity
2022-04-20 21:50:37 -07:00
777b6d3778
Allow for saving and loading mobjects from file at the Scene level
2022-04-20 21:49:57 -07:00
97400a5cf2
Update Scene.save_state and Scene.restore
2022-04-20 21:49:38 -07:00
cb768c26a0
Add functionality for recovering mobjects from their ids (to enable copying and pasting)
2022-04-20 21:48:58 -07:00
50565fcd7a
Change the way changing-vs-static mobjects are tracked
...
Previously, Camera would keep track of which mobjects are supposed to be "static", so that it could generated their render groups once and not repeat unnecessarily. This had an awkward dependence where Scene would then need to keep track of which mobjects should and should not be considered static.
This update pushes that logic to the Mobject level, where it keeps track internally of whether it's being animated, has an updater, or can be moved around by the mouse.
2022-04-14 16:27:58 -07:00
6a01e36b36
Minor cleanup
2022-04-14 14:36:17 -07:00
9ef9961d0e
Sort imports
2022-04-12 19:19:59 +08:00
e74cb85182
Remove unnecessary close of ProgressDisplay
2022-03-30 13:14:29 -07:00
a9349057ad
Merge branch 'master' of github.com:3b1b/manim into video-work
2022-03-22 11:30:25 -07:00
9d0cc810c5
Make panning more sensitive to mouse movements
2022-03-22 10:36:48 -07:00
4fbe948b63
style: insert an empty line after import
2022-02-16 21:08:25 +08:00
9f3b404df6
resolve conflict and add type hints for it
2022-02-16 11:46:55 +08:00
46e356e791
Change keyboard shortcut to drop into an embedding to be ctrl+shift+e
2022-02-15 10:10:57 -08:00
133724d29a
Allow for using right arrow in presenter mode
2022-02-14 07:56:26 -08:00
559b96e7ce
Small bug fix for presenter mode
2022-02-14 07:52:06 -08:00
be5de32d70
chore: add type hints to manimlib.scene
2022-02-14 21:22:18 +08:00
602809758e
Video work ( #1739 )
...
* Enable setting points to a null list, and adding one point at a time.
* Add refresh_locked_data
* Add presenter mode to scenes with -p option
* Allow for an embed by hitting e during interaction
* Add set_min_height, etc.
* Make sure null parametric curve has at least one point
* Account for edge case where \{ is used in Tex
* Allow for logging notes in wait calls, useful for presenter mode
* Simplify choose, and add gen_choose for fractional amounts
* Default to no top on axes
* Allow match_x, match_y, etc. to take in a point
* Allow wait calls to ignore presenter mode
* Just use math.combo, no caching with choose(n, r)
* Use generator instead of list in bezier
* Bubble init_colors should override
* Account for "px" values read in from an svg
* Stop displaying when writing is happening
* Update the way Bubble override SVG colors
2022-02-13 15:16:16 -08:00