Grant Sanderson
fab917ccee
Improve TransformMatchingString to match longest common substrings by default
2023-02-03 17:28:27 -08:00
Grant Sanderson
bc38165d44
Allow for matched_pairs arg to TransformMatchingStrings
2023-01-31 20:16:20 -08:00
Grant Sanderson
3a01eb31bd
Remove group_type arg
2023-01-27 16:02:47 -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
e5b17aad69
Small bug fix for TransformMatchingShape
2023-01-10 16:01:34 -08: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
25ac5f3507
Use Mobject.1.has_same_shape_as in TransformMatchingStrings
2022-12-29 12:03:17 -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
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
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
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
4aa7d439f1
Kill CONFIG in transform_matching_parts animations
2022-12-14 15:55:02 -08:00
YishiMichael
f0447d7739
Small refactors on StringMobject and relevant classes
2022-05-28 21:43:37 +08:00
YishiMichael
22a3bef670
Resolve conflicts
2022-05-28 12:40:29 +08:00
YishiMichael
cdadaf8a8c
Rename LabelledString to StringMobject
2022-05-06 22:09:58 +08:00
YishiMichael
1cb7401141
[WIP] Refactor LabelledString and relevant classes
2022-05-04 21:56:13 +08:00
YishiMichael
ab8f78f40f
[WIP] Refactor LabelledString and relevant classes
2022-05-03 23:39:37 +08:00
YishiMichael
03cb42ba15
[WIP] Refactor LabelledString and relevant classes
2022-05-02 22:40:06 +08:00
YishiMichael
e085c2e214
Refactor LabelledString and relevant classes
2022-04-23 17:17:43 +08:00
YishiMichael
e23f667c3d
Fix bug when handling multi-line tex
2022-04-10 08:36:13 +08:00
YishiMichael
d5ab9a91c4
Reorganize files
2022-03-31 16:15:58 +08:00
YishiMichael
0add9b6e3a
Rename file
2022-03-30 21:57:27 +08:00
YishiMichael
c5ec47b0e9
Refactor LabelledString
2022-03-30 21:53:00 +08:00
YishiMichael
7e8b3a4c6b
Refactor LabelledString
2022-03-29 23:38:06 +08:00
YishiMichael
0e31ff12e2
Tiny fix for TransformMatchingString
2022-03-28 18:54:43 +08:00
YishiMichael
473aaea399
Construct LabelledString
2022-03-28 17:55:50 +08:00
TonyCrane
4fbe948b63
style: insert an empty line after import
2022-02-16 21:08:25 +08:00
TonyCrane
41c4023986
chore: add type hints to manimlib.animation
2022-02-15 18:39:45 +08:00
YishiMichael
d6b20a7306
Refactor MTex and implement TransformMatchingMTex ( #1725 )
...
* Some small refactors
* Refactor MTex
* Implement TransformMatchingMTex
* Some refactors
* Some refactors
* Some small refactors
* Strip strings before matching
* Implement get_submob_tex
* Use RGB color mode
* Some small refactors
2022-02-07 08:21:53 -08:00
Grant Sanderson
7023548ec6
Fix TransformMatchingParts bug
2021-12-13 16:03:12 -08:00
Grant Sanderson
42d8888f8e
Allow any VMobject to be passed into TransformMatchingTex, so that slicing into Tex works
2021-03-31 23:28:49 -07:00
Grant Sanderson
73edeaa153
Fix TexTransformExample
2021-01-30 17:52:02 -08:00
Grant Sanderson
f91c81dd6a
Rename TexMobject -> Tex and TextMobject -> TexText
2021-01-18 08:20:14 -10:00
Grant Sanderson
5eee39803f
Rename get_tex_string -> get_tex
2021-01-07 12:14:51 -08:00
Grant Sanderson
5939f24cd4
Added key_map option and made key methods static
2021-01-07 11:48:16 -08:00
Grant Sanderson
e187728f0c
Add transform_mismatches option
2021-01-06 16:14:36 -08:00
Grant Sanderson
c0b90b398c
Add TransformMatchingShapes and TransformMatchingTex
2021-01-05 18:03:06 -08:00
Grant Sanderson
2d709758d0
Added TransformMatchingParts for smarter tex transforms
2021-01-04 23:09:29 -08:00