Commit graph

265 commits

Author SHA1 Message Date
Grant Sanderson
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
Grant Sanderson
afab37c2d2 Remove stray digest_config references 2022-12-16 11:00:59 -08:00
Grant Sanderson
a1cbff46b8 Remove CONFIG vestiges 2022-12-16 10:54:28 -08:00
Grant Sanderson
f64cae1db4 Push depth_test into __init__ args 2022-12-16 09:56:03 -08:00
Grant Sanderson
451f1df830 Small nudge to import order 2022-12-15 20:11:32 -08:00
Grant Sanderson
98c53151ad Correct type for texture_paths 2022-12-15 09:55:50 -08:00
Grant Sanderson
133ac8bb26 Kill CONFIG in mobject.py 2022-12-15 09:18:22 -08:00
Grant Sanderson
53994f0650 Add shorthand for type np.ndarray[int, np.dtype[np.float64]] 2022-12-14 16:17:15 -08:00
Grant Sanderson
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00
Grant Sanderson
12d4b48508 Make sure animating status propagates through ancestors 2022-11-18 09:11:47 -08:00
Grant Sanderson
a4ffe9b4e5 Allow group_by_rows and group_bg_cols option for creating grids 2022-11-18 09:11:29 -08:00
Grant Sanderson
b6dd640fe7 Add Mobject.reverse_submobjects 2022-11-18 09:10:44 -08:00
Grant Sanderson
84fa3de435 By default, don't let Mobject.become match updaters
This causes the use of Mobject.become in an updater function to make the mobject immediately lose its updater.

https://github.com/3b1b/manim/issues/1877
2022-11-03 16:35:41 -07:00
Grant Sanderson
8e6265d35e Give set_color_by_gradient more expected behavior
https://github.com/3b1b/manim/issues/1882
2022-11-03 16:17:17 -07:00
Grant Sanderson
80d34547db Typo fix 2022-11-03 11:32:25 -07:00
Grant Sanderson
88f2ae6d0d Merge branch 'master' of github.com:3b1b/manim into video-work 2022-09-13 14:08:15 -07:00
widcardw
603a773847 fix: pass args by calling animate that borrowed from CE 2022-09-11 22:59:43 +08:00
widcardw
2f691355db chore: add doc-string of set_anim_args 2022-09-11 10:31:30 +08:00
widcardw
a613099b1d feat: add set_anim_args to .animate method 2022-09-11 10:22:08 +08:00
Grant Sanderson
cc81cc5cf5 Move unit normal refreshing to VMobject 2022-07-19 12:37:34 -07:00
Grant Sanderson
dfa019fcde Make sure Mobject.become remaps any attributes pointing to family members appropriately. 2022-05-29 16:37:44 -07:00
Grant Sanderson
cd866573b5 Add about_edge argument to arrange_to_fit_width, etc. 2022-05-11 12:45:06 -07:00
Grant Sanderson
a87d3b5f59 Add Mobject.arrange_to_fit_dim 2022-05-03 12:40:43 -07:00
Grant Sanderson
c1b222c233 Set default buff for is_point_touching to 0 2022-04-28 11:59:56 -06: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
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
Grant Sanderson
902c2c002d Slight copy refactor 2022-04-23 10:16:35 -07:00
Grant Sanderson
2ba9243067 Merge branch 'master' of github.com:3b1b/manim into video-work 2022-04-23 09:03:53 -07: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
Grant Sanderson
1b2460f02a Remove refresh_shader_wrapper_id from Mobject.become 2022-04-22 08:14:05 -07:00
YishiMichael
37075590b5
Sort imports 2022-04-22 16:42:45 +08:00
YishiMichael
f226aa7314
Merge branch '3b1b:master' into master 2022-04-22 15:02:59 +08:00
Grant Sanderson
f53f202dcd A few small cleanups 2022-04-21 15:00:58 -07:00
Grant Sanderson
fe3e10acd2 Updates to copying based on pickle serializing 2022-04-21 14:32:27 -07:00
Grant Sanderson
c04615c4e9 In Mobject.set_uniforms, copy uniforms that are numpy arrays 2022-04-21 14:30:39 -07:00
Grant Sanderson
996d71c49e Add fallback for Mobject copying for unpicklable objects 2022-04-20 22:53:49 -07:00
Grant Sanderson
d24b8ff48f
Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
Grant Sanderson
1b009a4b03 Simplify Mobject.copy to just use pickle serialization 2022-04-20 22:07:10 -07:00
Grant Sanderson
a0c46ef3bf Have set_animating_status recurse over family 2022-04-20 21:46:43 -07:00
Grant Sanderson
4839037503 Update Mobject.make_movable to recurse over family 2022-04-20 21:44:42 -07:00