Commit graph

1063 commits

Author SHA1 Message Date
YishiMichael
14dfd776dc
Refactor LabelledString 2022-04-15 23:26:41 +08:00
YishiMichael
0a810bb4f1
Refactor LabelledString 2022-04-15 22:54:06 +08:00
YishiMichael
020bd87271
Add back base_color attribute 2022-04-15 13:27:50 +08:00
Grant Sanderson
50565fcd7a Change the way changing-vs-static mobjects are tracked
Previously, Camera would keep track of which mobjects are supposed to be "static", so that it could generated their render groups once and not repeat unnecessarily. This had an awkward dependence where Scene would then need to keep track of which mobjects should and should not be considered static.

This update pushes that logic to the Mobject level, where it keeps track internally of whether it's being animated, has an updater, or can be moved around by the mouse.
2022-04-14 16:27:58 -07:00
Grant Sanderson
5a91c73b23 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-14 14:40:14 -07:00
Grant Sanderson
5e49f20294 Add VMobject.get_highlight 2022-04-14 14:37:50 -07:00
Grant Sanderson
29816fa74c Add get_highlight 2022-04-14 14:37:38 -07:00
Grant Sanderson
95f56f5e80 Be sure has_updater_status is properly updated after clear 2022-04-14 14:37:12 -07:00
YishiMichael
4c324767bd
Recover Mobject.scale method 2022-04-15 00:55:02 +08:00
YishiMichael
eec6b01a72
Refactor labelled_string.py 2022-04-14 21:07:31 +08:00
YishiMichael
0c1e5b337b
Support passing in complete environment tags 2022-04-13 22:51:55 +08:00
YishiMichael
bff9f74b04
Prevent from passing an empty string 2022-04-12 23:19:10 +08:00
Grant Sanderson
845ee83f71
Merge pull request #1791 from 3b1b/fix_image_mobject
Fix `ImageMobject` by overriding `set_color` method
2022-04-12 08:13:01 -07:00
YishiMichael
42444d090e
Add missing import 2022-04-12 21:09:25 +08:00
YishiMichael
b11ce7ff7c
Adjust annotation 2022-04-12 20:22:13 +08:00
YishiMichael
296ab84b46
Adjust annotation 2022-04-12 20:21:25 +08:00
TonyCrane
55684af27d
fix: fix ImageMobject by overriding set_color method 2022-04-12 20:20:03 +08:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
Grant Sanderson
dc4b9bc93c Use outer_interpolate for NumberLine.number_to_point 2022-04-11 10:47:26 -07:00
Grant Sanderson
773520bcd9
Merge pull request #1785 from YishiMichael/master
Fix bug when handling multi-line tex
2022-04-11 09:52:51 -07:00
YishiMichael
12bfe88f40
Some refactors 2022-04-11 23:44:33 +08:00
YishiMichael
36d62ae1a3
Add regex parameter 2022-04-10 09:23:53 +08:00
YishiMichael
e23f667c3d
Fix bug when handling multi-line tex 2022-04-10 08:36:13 +08:00
EbbDrop
2277679111 Added a \overset as a special string 2022-04-08 23:06:08 +02:00
YishiMichael
3550108ff7
Handle out-of-bound spans 2022-04-07 09:48:44 +08:00
Grant Sanderson
d7bdcab161 Tiny formatting change 2022-04-06 13:04:44 -07:00
Grant Sanderson
3b847da9ea Update parent updater status when adding updaters 2022-04-06 13:04:05 -07:00
Grant Sanderson
217c1d7bb0 Add start angle option to Circle 2022-04-06 13:03:36 -07:00
YishiMichael
557707ea75
Support substring and case_sensitive parameters 2022-04-07 00:46:41 +08:00
YishiMichael
18963fb9fe
Some refactors on LabelledString 2022-04-06 23:16:59 +08:00
YishiMichael
93f8d3f1ca
Some refactors on LabelledString 2022-04-06 22:38:33 +08:00
YishiMichael
55a91a2354
Remove unnecessary raise statement 2022-04-05 22:16:26 +08:00
YishiMichael
7f616987a3
Fix typo 2022-04-05 14:01:07 +08:00
YishiMichael
974d9d5ab0
Avoid empty spans 2022-04-04 14:53:40 +08:00
YishiMichael
3c3264d7d6
Support passing in spans directly 2022-04-02 22:42:19 +08:00
YishiMichael
84c56b3624
Fix typo 2022-03-31 18:11:37 +08:00
YishiMichael
dc816c9f8d
Improve algorithm 2022-03-31 18:08:10 +08:00
YishiMichael
d5ab9a91c4
Reorganize files 2022-03-31 16:15:58 +08:00
YishiMichael
106f2a3837
Fix shallow copying bug 2022-03-31 11:36:50 +08:00
YishiMichael
724a500cc6
Fix shallow copying bug 2022-03-31 11:20:42 +08:00
YishiMichael
461500637e
Fix type bug 2022-03-31 10:57:25 +08:00
YishiMichael
fc4f649570
Fix bugs brought by empty strings 2022-03-31 10:36:14 +08:00
YishiMichael
852da9ac2a
Merge branch 'master' of https://github.com/YishiMichael/manim 2022-03-30 22:09:54 +08:00
YishiMichael
637d779190
Fix empty zipping bug 2022-03-30 22:09:26 +08:00
YishiMichael
9bbbed3a83
Remove comment 2022-03-30 22:04:10 +08:00
YishiMichael
1cde28838f
Merge branch '3b1b:master' into master 2022-03-30 22:02:23 +08:00
YishiMichael
a8039d803e
Rename file 2022-03-30 21:58:27 +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
Grant Sanderson
769a4bbaf9
Merge pull request #1770 from 3b1b/video-work
Small camera/3d updates
2022-03-29 20:35:33 -07:00