Commit graph

300 commits

Author SHA1 Message Date
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
Grant Sanderson
a6db0877de Remove stray imports 2022-12-16 15:21:14 -08:00
Grant Sanderson
afab37c2d2 Remove stray digest_config references 2022-12-16 11:00:59 -08:00
Grant Sanderson
10c0f4b694 Don't pass kwargs to Animation from LaggedStart 2022-12-15 11:33:41 -08:00
Grant Sanderson
97a5861ccf Remove stray "kwargs" 2022-12-15 09:18:53 -08:00
Grant Sanderson
a0a17be6ea Remove digest_config 2022-12-14 16:27:33 -08:00
Grant Sanderson
4e8b80fe86 Ensure shift continues to be second arg of FadeOut 2022-12-14 16:27:25 -08:00
Grant Sanderson
ca1ba67a85 Kill config in update.py 2022-12-14 16:02:15 -08:00
Grant Sanderson
4aa7d439f1 Kill CONFIG in transform_matching_parts animations 2022-12-14 15:55:02 -08:00
Grant Sanderson
0aa451396d Kill CONFIG in specialized.py 2022-12-14 15:13:30 -08:00
Grant Sanderson
a6744a19d3 Kill CONFIG in rotation.py 2022-12-14 15:08:20 -08:00
Grant Sanderson
02c3243f98 Kill CONFIG in numbers.py 2022-12-14 15:02:25 -08:00
Grant Sanderson
81615d9f4b Kill CONFIG in movement.py 2022-12-14 14:58:25 -08:00
Grant Sanderson
7dcf5eff8e Kill CONFIG in indication.py 2022-12-14 14:40:05 -08:00
Grant Sanderson
7474a98752 Kill config in growing.py 2022-12-14 12:08:18 -08:00
Grant Sanderson
5571c7d576 Kill config in transform.py 2022-12-14 12:05:33 -08:00
Grant Sanderson
adf886dced Add 'Callable' import 2022-12-14 11:27:13 -08:00
Grant Sanderson
f6858778c4 Kill config in fading 2022-12-14 11:27:00 -08:00
Grant Sanderson
187de0163f Kill config in creation.py 2022-12-14 10:58:35 -08:00
Grant Sanderson
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00