986 Commits

Author SHA1 Message Date
d24b8ff48f Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
1b009a4b03 Simplify Mobject.copy to just use pickle serialization 2022-04-20 22:07:10 -07:00
b09e6916dc Remove VMobject.get_highlight 2022-04-20 21:47:12 -07:00
a0c46ef3bf Have set_animating_status recurse over family 2022-04-20 21:46:43 -07:00
4839037503 Update Mobject.make_movable to recurse over family 2022-04-20 21:44:42 -07:00
f636199d9a Add Mobject.get_all_corners 2022-04-20 21:43:16 -07:00
50f5d20cc3 Allow for saving and loading mobjects from file 2022-04-20 21:42:59 -07:00
2dd2fb500e Remove Mobject.get_highlight 2022-04-20 21:42:22 -07:00
c1716895c0 Add Mobject.is_touching 2022-04-20 21:42:07 -07:00
135f68de35 Update Mobject.is_point_touching 2022-04-20 21:41:47 -07:00
8852921b3d Refactor double brace parsing 2022-04-18 19:44:32 +08:00
cbb7e69f68 Refactor LabelledString and relevant classes 2022-04-18 18:47:57 +08:00
0e0244128c Refactor LabelledString and relevant classes 2022-04-17 13:57:03 +08:00
e9298c5faf Remove sorting key 2022-04-16 16:31:55 +08:00
4f5173b633 Adjust typing 2022-04-16 15:45:55 +08:00
58127e7511 import Iterables 2022-04-16 15:34:32 +08:00
b387bc0c95 Adjust typings 2022-04-16 15:29:23 +08:00
654da85cf6 Adjust typings 2022-04-16 14:09:59 +08:00
bc18894040 Remove empty results in LabelledString.select_parts 2022-04-16 13:59:42 +08:00
ac4620483c Support flexible selector types 2022-04-16 12:53:43 +08:00
4690edec3e Refactor LabelledString 2022-04-16 00:24:55 +08:00
a1e77b0ce2 Refactor LabelledString 2022-04-15 23:58:06 +08:00
dbefc3b256 Refactor LabelledString 2022-04-15 23:30:42 +08:00
14dfd776dc Refactor LabelledString 2022-04-15 23:26:41 +08:00
0a810bb4f1 Refactor LabelledString 2022-04-15 22:54:06 +08:00
020bd87271 Add back base_color attribute 2022-04-15 13:27:50 +08:00
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
5a91c73b23 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-14 14:40:14 -07:00
5e49f20294 Add VMobject.get_highlight 2022-04-14 14:37:50 -07:00
29816fa74c Add get_highlight 2022-04-14 14:37:38 -07:00
95f56f5e80 Be sure has_updater_status is properly updated after clear 2022-04-14 14:37:12 -07:00
4c324767bd Recover Mobject.scale method 2022-04-15 00:55:02 +08:00
eec6b01a72 Refactor labelled_string.py 2022-04-14 21:07:31 +08:00
0c1e5b337b Support passing in complete environment tags 2022-04-13 22:51:55 +08:00
bff9f74b04 Prevent from passing an empty string 2022-04-12 23:19:10 +08:00
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
42444d090e Add missing import 2022-04-12 21:09:25 +08:00
b11ce7ff7c Adjust annotation 2022-04-12 20:22:13 +08:00
296ab84b46 Adjust annotation 2022-04-12 20:21:25 +08:00
55684af27d fix: fix ImageMobject by overriding set_color method 2022-04-12 20:20:03 +08:00
9ef9961d0e Sort imports 2022-04-12 19:19:59 +08:00
dc4b9bc93c Use outer_interpolate for NumberLine.number_to_point 2022-04-11 10:47:26 -07:00
773520bcd9 Merge pull request #1785 from YishiMichael/master
Fix bug when handling multi-line tex
2022-04-11 09:52:51 -07:00
12bfe88f40 Some refactors 2022-04-11 23:44:33 +08:00
36d62ae1a3 Add regex parameter 2022-04-10 09:23:53 +08:00
e23f667c3d Fix bug when handling multi-line tex 2022-04-10 08:36:13 +08:00
2277679111 Added a \overset as a special string 2022-04-08 23:06:08 +02:00
3550108ff7 Handle out-of-bound spans 2022-04-07 09:48:44 +08:00
d7bdcab161 Tiny formatting change 2022-04-06 13:04:44 -07:00
3b847da9ea Update parent updater status when adding updaters 2022-04-06 13:04:05 -07:00