Commit graph

269 commits

Author SHA1 Message Date
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
Grant Sanderson
28c875c2c3 Finish Transforms with a call to Mobject.become 2023-01-26 16:49:13 -08:00
Grant Sanderson
8ef71bb930 Don't use 'become' for interpolate at alpha = 0 or 1 2023-01-26 16:43:40 -08:00
Grant Sanderson
f96a697ee3 Use become for interpolating at 0 or 1 2023-01-25 19:21:24 -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
16d773f1b3 Remove refresh_shader_data 2023-01-25 10:48:59 -08:00
Grant Sanderson
0e2d21bed3 Don't necessarily use VGroup with FadeTransform 2023-01-24 21:46:34 -08:00
Grant Sanderson
2e2e8dfee2 Fix the fact that Write messes up joint_products 2023-01-20 20:33:47 -08:00
Grant Sanderson
5a95bfa70f Delete align_stroke_width_data_to_points 2023-01-15 21:28:19 -08:00
Grant Sanderson
9704f063c9 Use pointlike_data_keys for interpolation and rotation 2023-01-15 18:01:37 -08:00
Grant Sanderson
557e57d95b Change taper width default 2023-01-11 19:27:23 -08:00
Grant Sanderson
d3a40eb1ac Update VShowPassingFlash for new path mode 2023-01-11 16:40:40 -08:00
Grant Sanderson
bfaf81c6b3 Refresh shader data at the start of an animation 2023-01-10 16:40:31 -08:00
Grant Sanderson
e5b17aad69 Small bug fix for TransformMatchingShape 2023-01-10 16:01:34 -08:00
Grant Sanderson
f5455bb554 Avoid using set_points in Rotation 2023-01-05 08:29:59 -05:00
Grant Sanderson
4c1f1f8749 Clean up TransformMatchingStrings 2022-12-30 15:09:07 -08:00
Grant Sanderson
4335e85659 Abstract away logic of TransformMatchingStrings to a new version of TransformMatchingParts 2022-12-30 13:54:55 -08:00
Grant Sanderson
96bc95ef38 Allow FadeTransform to group parts as VGroup if applicable 2022-12-30 13:53:32 -08:00
Grant Sanderson
cec43dfe51 Use Vect3 type in fading.py 2022-12-30 13:53:12 -08:00
Grant Sanderson
3b4a233bb1 Fix LaggedStartMap 2022-12-29 18:53:26 -08:00
Grant Sanderson
25ac5f3507 Use Mobject.1.has_same_shape_as in TransformMatchingStrings 2022-12-29 12:03:17 -08:00
Grant Sanderson
ef09d6fce2 Allow for AnimationGroup to specify that parts belong to a VGroup 2022-12-29 12:02:48 -08:00
Grant Sanderson
4330f78ed6 Enable lag_ratio for TransformMatchingStrings 2022-12-29 10:44:52 -08:00
Grant Sanderson
926f3515bf Write new TransformMatchingStrings 2022-12-28 13:39:46 -08:00
Grant Sanderson
62c9e2b58f Fix data["orientation"] alignment issue a separate way 2022-12-23 18:09:09 -07:00
Grant Sanderson
453b863738 Be sure to align data in FadeTransform 2022-12-23 17:24:33 -07:00
Grant Sanderson
dd2fb6ae74 Delete refresh_unit_normal 2022-12-23 10:23:57 -07:00
Grant Sanderson
33682b7199 MTex is the new Tex, Tex is now OldTex
Global replace
Tex -> OldTex
TexText -> OldTexText
MTex -> Tex
MTexText -> TexText
2022-12-21 13:18:20 -08:00
Grant Sanderson
b1f363d5a9 Expand input type for AnimationGroup 2022-12-18 19:52:48 -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
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
Grant Sanderson
a4272d11a2 Finish last(?) digest_config vestige 2022-12-16 15:21:31 -08:00