Grant Sanderson
744e695340
Misc. clean up ( #2269 )
...
* Comment tweak
* Directly print traceback
Since the shell.showtraceback is giving some issues
* Make InteracrtiveSceneEmbed into a class
This way it can keep track of it's internal shell; use of get_ipython has a finicky relationship with reloading.
* Move remaining checkpoint_paste logic into scene_embed.py
This involved making a few context managers for Scene: temp_record, temp_skip, temp_progress_bar, which seem useful in and of themselves.
* Change null key to be the empty string
* Ensure temporary svg paths for Text are deleted
* Remove unused dict_ops.py functions
* Remove break_into_partial_movies from file_writer configuration
* Rewrite guarantee_existence using Path
* Clean up SceneFileWriter
It had a number of vestigial functions no longer used, and some setup that could be made more organized.
* Remove --save_pngs CLI arg (which did nothing)
* Add --subdivide CLI arg
* Remove add_extension_if_not_present
* Remove get_sorted_integer_files
* Have find_file return Path
* Minor clean up
* Clean up num_tex_symbols
* Fix find_file
* Minor cleanup for extract_scene.py
* Add preview_frame_while_skipping option to scene config
* Use shell.showtraceback function
* Move keybindings to config, instead of in-place constants
* Replace DEGREES -> DEG
2024-12-12 08:39:54 -08:00
Varniex
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
Grant Sanderson
fea7096cbe
Change default animation behavior to suspend_mobject_updating=False
2024-09-28 09:48:20 -05:00
Grant Sanderson
b6e5b0f34a
Merge pull request #2036 from LinZezh1/fix_animation
...
Remove duplicate items
2024-09-06 10:57:32 -07:00
Grant Sanderson
9812503597
Merge pull request #2059 from germanzhu/fix_vshowpassingflash
...
fix VShowPassingFlash index out of bounds issue
2024-09-06 09:39:06 -07:00
Grant Sanderson
2836acc3c7
Have Write default stroke color match that of the mobject
2024-09-06 09:12:14 -05:00
Grant Sanderson
7519ce15da
Merge branch 'master' of github.com:3b1b/manim into unify-vbo
2024-08-26 10:20:44 -05:00
Grant Sanderson
f86245517d
Merge pull request #2147 from osMrPigHead/fix-animation-time_span
...
fix(animation): `time_span` doesn't work for mobjects with submobjects
2024-08-26 08:20:11 -07:00
Grant Sanderson
bd2947be28
Use preferred group type for FadeTransform
2024-08-22 15:31:03 -05:00
Grant Sanderson
cfe70ca869
Don't let Write override stroke_behind default
2024-08-21 16:47:51 -05:00
Grant Sanderson
9a5386b022
Instead of passing in joint_products to stroke shader, just track joint_angles and pass in global unit normal
2024-08-21 11:59:48 -05:00
Grant Sanderson
b288d5301e
Get rid of cached _has_stroke and _has_fill parameters
2024-08-19 17:27:47 -05:00
Grant Sanderson
28eba26bee
Remove stray new line
2024-08-19 14:09:23 -05:00
Grant Sanderson
902a4f264e
Add white space after assert statements
2024-08-16 12:15:55 -05:00
osMrPigHead
644084d9a7
Merge branch '3b1b:master' into fix-animation-time_span
2024-08-15 15:11:30 +08:00
osMrPigHead
0eae42977a
fix(animation): time_span
doesn't work for mobjects with submobjects
2024-07-23 15:55:06 +08:00
Grant Sanderson
4feb831a11
Pass group parameter in LaggedStartMap -> AnimationGroup
2024-06-24 15:21:09 -07:00
Grant Sanderson
772a328302
Have FadeTransform target match all uniforms of source
2024-04-12 21:52:08 -04:00
Grant Sanderson
ec42326618
Fix remover=True case for FadeTransform
2024-03-21 14:35:33 -03:00
Grant Sanderson
6b3834739c
Undo redundant previous tweak to LaggedStartMap input type
2024-03-21 10:00:11 -03:00
Grant Sanderson
7db69e32aa
Update input type to LaggedStartMap
2024-03-16 11:10:52 -03:00
Grant Sanderson
70b839e188
Change to only compute has_updater status as needed
2024-03-07 15:34:26 -03:00
Grant Sanderson
2380ffd616
Allow LaggedStart to accept an iterable as an argument
2024-03-07 09:41:47 -03:00
Grant Sanderson
2e9c89502d
Restrict alpha in CountInFrom
2024-03-07 08:39:45 -03:00
Grant Sanderson
45d9049405
Minor clean up
2024-02-03 18:47:39 -06:00
Grant Sanderson
f8fedffa4c
Use rate function on MoveAlongPath
2023-12-02 21:28:22 -06:00
Grant Sanderson
cbc32468bf
Note chanted stroke and fill after DrawBorderThenFill has complete
2023-11-06 12:31:52 -05:00
Grant Sanderson
f4778b57ef
Have Animation keep track of whether a mobject had had it's updating suspended before resuming it at the end
2023-11-06 12:31:16 -05:00
german2020
f0a61beaf5
fix VShowPassingFlash index out of bounds issue
2023-08-28 10:10:51 +08:00
Grant Sanderson
7954ba14ef
Use rate_function appropriately in ShowIncreasingSubsets
2023-08-15 20:35:42 -07:00
LinZeZhi
c65b7242e4
Remove duplicate items
2023-06-29 10:18:44 +08:00
Grant Sanderson
5d9a7f49e6
Add taper_width argument to FlashAround
2023-06-10 09:19:48 -07:00
Grant Sanderson
f33b8d1d2f
Add stretch_factor in FlashUnder Underline
2023-06-10 09:19:32 -07:00
Grant Sanderson
6d0b586597
Prevent index out of range error for ShowSubmobjectsOneByOne
2023-03-10 11:04:25 -08:00
Grant Sanderson
dcb58c1f4f
Remove arg_creator arg from LaggedStartMap
...
Anything that enables is better done just with LaggedStart
2023-02-15 20:55:26 -08:00
Grant Sanderson
576a26493e
Use quick_point_from_proportion in MoveAlongPath
2023-02-15 20:54:59 -08:00
Grant Sanderson
b39fbb62f4
Ensure joint_products are refreshed for _AnimationBuilder
2023-02-09 15:16:10 -08:00
Grant Sanderson
4e90a77fcd
Change type hint on LaggedStart to accept any functions outputting animations
2023-02-04 16:50:12 -08:00
Grant Sanderson
fab917ccee
Improve TransformMatchingString to match longest common substrings by default
2023-02-03 17:28:27 -08:00
Grant Sanderson
009f9dd18b
Don't call become at the end of Transform
2023-02-02 18:16:44 -08:00
Grant Sanderson
c4d698a169
Have Transform only copy target_mobject if it must
2023-02-02 15:36:58 -08:00
Grant Sanderson
bc38165d44
Allow for matched_pairs arg to TransformMatchingStrings
2023-01-31 20:16:20 -08:00
Grant Sanderson
7e78e76966
Only call become at the end of Transform if the rate func ends at 1
2023-01-31 14:46:28 -08:00
Grant Sanderson
60aae748a7
Make sure animations will trigger a refresh for joint products
2023-01-31 12:49:02 -08:00
Grant Sanderson
8d72340501
Remove some references to triangulation
2023-01-28 12:43:56 -08:00
Grant Sanderson
3a01eb31bd
Remove group_type arg
2023-01-27 16:02:47 -08:00
Grant Sanderson
35c19fe8a7
Edit is_fixed_in_frame
2023-01-27 14:48:31 -08:00
Grant Sanderson
422c9cebd2
Only trigger triangulation for non-winding fill
2023-01-26 23:05:01 -08:00
Grant Sanderson
bf2a609246
Have animation group collect parts as a VGroup if it can
2023-01-26 20:39:05 -08:00
Grant Sanderson
acdc2654d3
Account for 'target_mobject is None' case
2023-01-26 16:52:25 -08:00