Commit graph

1246 commits

Author SHA1 Message Date
YishiMichael
9386461d27
Add font attribute for Tex 2022-05-22 23:47:45 +08:00
YishiMichael
1596356385
Reuse hash_string function 2022-05-22 10:29:20 +08:00
YishiMichael
f0984487ea
Construct TexTemplate class to convert tex to svg 2022-05-21 15:56:03 +08:00
YishiMichael
cfded00f13
Fix a logistic bug (#1815) 2022-05-20 18:56:40 +08:00
YishiMichael
26de7c9ce5
Fix a logistic bug 2022-05-20 18:49:38 +08:00
YishiMichael
49723f54cb
Add necessary imports (#1804)
* Add necessary imports

* Add necessary imports

* Add necessary imports

* Add `from __future__ import annotations`
2022-05-19 22:07:06 +08:00
Grant Sanderson
cece830349 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-05-17 09:19:47 -07:00
Grant Sanderson
0060a4860c Bug fix to VMobject.match_style 2022-05-11 12:46:15 -07:00
Grant Sanderson
4fdaeb1547 Fix(?) issue with numbers forgetting style info when resetting value 2022-05-11 12:45:51 -07:00
Grant Sanderson
48689c8c7b Add DecimalNumber.get_tex 2022-05-11 12:45:27 -07:00
Grant Sanderson
cd866573b5 Add about_edge argument to arrange_to_fit_width, etc. 2022-05-11 12:45:06 -07:00
YishiMichael
cdadaf8a8c
Rename LabelledString to StringMobject 2022-05-06 22:09:58 +08:00
YishiMichael
7cf0e0ba10
Refactor LabelledString and relevant classes 2022-05-06 17:56:27 +08:00
YishiMichael
b509f62010
Refactor LabelledString and relevant classes 2022-05-06 16:43:20 +08:00
YishiMichael
642602155d
[WIP] Refactor LabelledString and relevant classes 2022-05-05 23:03:02 +08:00
Grant Sanderson
181038e2f3 More curves to cross by default 2022-05-04 09:30:54 -07:00
YishiMichael
511a3aab3d
[WIP] Remove comments 2022-05-04 22:18:19 +08:00
YishiMichael
1cb7401141
[WIP] Refactor LabelledString and relevant classes 2022-05-04 21:56:13 +08:00
Grant Sanderson
a87d3b5f59 Add Mobject.arrange_to_fit_dim 2022-05-03 12:40:43 -07: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
Grant Sanderson
354030464e Bug patch Tex sometimes rendering black 2022-04-28 19:15:53 -04:00
Grant Sanderson
ed5a435852 Default to more highlight layers 2022-04-28 12:14:49 -06:00
Grant Sanderson
a4b38fd420 Clean up DecimalNumber constructor 2022-04-28 12:14:36 -06:00
Grant Sanderson
c1b222c233 Set default buff for is_point_touching to 0 2022-04-28 11:59:56 -06:00
Grant Sanderson
5d59f945ca FillArrow tweak 2022-04-28 11:59:38 -06:00
Grant Sanderson
c311204993 Tweaks to VHighlight 2022-04-27 09:55:29 -07:00
Grant Sanderson
ec9ed32d78 Organize get_ancestors from top to bottom 2022-04-27 09:53:23 -07:00
Grant Sanderson
0e45b41fea Match updaters in Mobject.become 2022-04-27 09:52:44 -07:00
Grant Sanderson
c498b88750 Small tweaks to Mobject.looks_identical for marginal speed 2022-04-27 09:52:27 -07:00
Grant Sanderson
2dcc989bb4 (whitespace) 2022-04-27 09:51:43 -07:00
YishiMichael
065900c6ac
Some refactors 2022-04-27 23:04:24 +08:00
YishiMichael
69db53d612
Merge branch '3b1b:master' into refactor 2022-04-26 10:07:40 +08:00
Grant Sanderson
4c1210b3ab Add smarter default radius to round_corners 2022-04-25 10:26:29 -07:00
Grant Sanderson
aaea3f40f6 Don't copy Mobject attrs which are mobject but not family members 2022-04-25 10:26:07 -07:00
Grant Sanderson
40b432a29b Add extended option to Mobject.get_ancestors 2022-04-25 09:54:32 -07:00
Grant Sanderson
e49e4b8373 Speed-ups to Mobject.copy 2022-04-24 13:24:20 -07:00
Grant Sanderson
db884b0a67 Add Mobject.get_ancestors 2022-04-24 10:29:02 -07:00
Grant Sanderson
c3c5717dde Add Mobject.looks_identical 2022-04-23 18:50:45 -07:00
YishiMichael
97edc2d6cf
Merge branch 'master' into refactor 2022-04-24 08:26:22 +08:00
Grant Sanderson
d9475a6860 Remove unnecessary imports 2022-04-23 10:16:48 -07:00
Grant Sanderson
902c2c002d Slight copy refactor 2022-04-23 10:16:35 -07:00
Grant Sanderson
587bc4d0bd Add necessary import 2022-04-23 10:16:23 -07:00
Grant Sanderson
2ba9243067 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-23 09:03:53 -07:00
YishiMichael
e085c2e214
Refactor LabelledString and relevant classes 2022-04-23 17:17:43 +08:00
Grant Sanderson
f70e91348c Remove Mobject.interaction_allowed, in favor of using _is_animating for multiple purposes 2022-04-22 23:14:57 -07:00
Grant Sanderson
62289045cc Fix animating Mobject.restore bug 2022-04-22 19:42:47 -07:00
Grant Sanderson
3961005fd7 Rename is_movable to interaction_allowed 2022-04-22 19:17:39 -07:00
Grant Sanderson
59506b89cc Revert to original copying scheme 2022-04-22 19:02:44 -07:00
Grant Sanderson
4d8698a0e8 Add Mobject.deserialize 2022-04-22 11:42:26 -07:00