Grant Sanderson
e9333a908c
Move camera.clear call into 'capture'
2023-01-26 20:38:38 -08:00
Grant Sanderson
9ee9e1946a
Use non-window fbo in scene.get_image
2023-01-26 20:02:50 -08:00
Grant Sanderson
14cda7e908
Don't show progress bar in embed by default
2023-01-26 15:28:10 -08:00
Grant Sanderson
a1595a9e2f
Use separate fbo for writing to file when window is active
2023-01-25 22:34:11 -08:00
Grant Sanderson
3c8e3792e7
Remove references to refresh_static_mobjects
2023-01-25 19:20:11 -08:00
Grant Sanderson
2beb55727f
Change naming logic for recorded inserts
2023-01-25 17:30:12 -08:00
Grant Sanderson
d2af6a5f4b
Keep track of when Mobject data has changed, and used that to determine when ShaderWrapper generates new buffers
2023-01-25 16:43:47 -08:00
Grant Sanderson
424707d035
Move rendering more fully away from Camera to Mobject and ShaderWrapper
2023-01-25 14:13:56 -08:00
Grant Sanderson
aa6c321a0a
Change InteractiveScene dot config
2023-01-24 14:25:02 -08:00
Grant Sanderson
b99b88fd25
Update Scene.get_image to resize window if needed
2023-01-24 12:05:08 -08:00
Grant Sanderson
8a6deb4068
Enable recording during a Scene embed
2023-01-23 17:10:18 -08:00
Grant Sanderson
c13495deeb
Blit based on window's viewport, when in preview mode
2023-01-23 17:03:46 -08:00
Grant Sanderson
e8b75941e0
Get rid of pixel_width and pixel_height attrs on Camera
2023-01-23 14:02:06 -08:00
Grant Sanderson
24864a3d61
Small tweak
2023-01-21 11:13:22 -08:00
Grant Sanderson
8e1fdd5a79
Change crosshair style
2023-01-20 21:38:36 -08:00
Grant Sanderson
66d12a1687
Specify number of samples at the scene level, and be sure it works for Window as well
2023-01-20 16:30:39 -08:00
Grant Sanderson
51efe0d18e
Merge branch 'master' of github.com:3b1b/manim into video-work
2023-01-13 20:42:03 -08:00
Grant Sanderson
599f74c749
Refresh bounding boxes after selection
2023-01-13 14:59:53 -08:00
Grant Sanderson
73a894c136
Set selection animating status after adding mobjects
2023-01-13 13:07:29 -08:00
LucaCappelletti94
1708fbd672
Updated tqdm to support also notebooks
2023-01-12 12:03:14 +01:00
Grant Sanderson
5fac213fee
Change crosshair initialization
2023-01-11 19:27:34 -08:00
Grant Sanderson
c0fba529d9
Update crosshair for new path structure
2023-01-11 14:20:33 -08:00
Grant Sanderson
7dde368eeb
Ensure error-flash rect is fixed in frame
2022-12-29 20:18:19 -08:00
Grant Sanderson
ba68505c18
Flash around border on exceptions in Scene.embed
2022-12-29 15:08:57 -08:00
Grant Sanderson
71815fd7de
Add (optional) error sound for exceptions in Scene.embed
2022-12-29 14:58:40 -08:00
Grant Sanderson
cba101995f
Allow for customizable exception display mode with Scene.embed
2022-12-29 14:38:25 -08:00
Grant Sanderson
42f2461acb
Revert "Allow for file_writing to use multiple thread"
...
This reverts commit 7b0b31e8d9
.
2022-12-28 21:22:04 -08:00
Grant Sanderson
7b0b31e8d9
Allow for file_writing to use multiple thread
2022-12-28 21:05:03 -08:00
Grant Sanderson
22c67df2ad
Simplify Scene.remove to not require a Mobject.get_ancestors call
2022-12-26 07:46:40 -07:00
Grant Sanderson
5c7caee902
Go back to writing a new file for insert_embed, but edit the module's __file__ attribute
2022-12-19 21:14:29 -08:00
Grant Sanderson
d79e1d6ed8
Move shell instantiation to beginning of checkpoint_paste
2022-12-19 11:36:28 -08:00
Grant Sanderson
6615a912bd
Add default_camera_config class variable to Scene, likewise for window and file_writer configuration
2022-12-19 11:35:43 -08:00
Grant Sanderson
99fa3ee620
Refactor Scene.embed and checkpoint_paste
2022-12-19 10:51:26 -08:00
Grant Sanderson
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
Grant Sanderson
4f6c387a03
Edit interact message
2022-12-18 12:01:33 -08:00
Grant Sanderson
38c4fd8770
Remove unnecessary save
2022-12-18 11:54:57 -08:00
Grant Sanderson
3e4b6a7fb0
Add show_progress and skip options to checkpoint_paste
2022-12-18 11:21:57 -08:00
Grant Sanderson
af471161ea
Fix 'Failed to get module" warning with Scene embed
2022-12-18 11:11:08 -08:00
Grant Sanderson
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
Grant Sanderson
38db5ca9b9
Replace handle_play_like_call with pre_play and post_play method
2022-12-17 18:59:05 -08:00
Grant Sanderson
810f2c67ab
Make handle_play_like_call a static method
2022-12-17 18:11:38 -08:00
Grant Sanderson
bd537afe72
Remove skip and show_progress options of checkpoint_paste
2022-12-17 18:11:25 -08:00
Grant Sanderson
a4272d11a2
Finish last(?) digest_config vestige
2022-12-16 15:21:31 -08:00
Grant Sanderson
afab37c2d2
Remove stray digest_config references
2022-12-16 11:00:59 -08:00
Grant Sanderson
33b4e617a6
Move ThreeDScene to once_useful_constructs
2022-12-15 08:09:31 -08:00
Grant Sanderson
c57f1f997a
Kill CONFIG in vector_space_scene and move to once_useful_constructs
2022-12-15 08:08:40 -08:00
Grant Sanderson
0b994db0ec
Make camera_config changable as a class variable
2022-12-14 17:14:53 -08:00
Grant Sanderson
69b0b0727e
Kill CONFIG in scene_file_writer.py
2022-12-14 17:07:05 -08:00
Grant Sanderson
013bf8b639
Kill CONFIG in scene.py
2022-12-14 17:01:46 -08:00
Grant Sanderson
98a969242a
Add (optional) quieting for checkpoint_paste
2022-12-14 11:02:51 -08:00