Commit graph

2183 commits

Author SHA1 Message Date
Grant Sanderson
5403237123 Added Animation.get_all_mobjects_to_update 2019-02-09 10:55:23 -08:00
Grant Sanderson
1cc395ce8b Moved ShrinkToCenter to transform, and made it a subclass of ScaleInPlace 2019-02-09 10:40:00 -08:00
Grant Sanderson
72a8bd8cc1 Fixed bug with VMobject.align_points 2019-02-09 10:39:34 -08:00
Grant Sanderson
28d627ba83 Reimplment growing animations based on new Animation structure 2019-02-09 10:21:14 -08:00
Grant Sanderson
9f3cb6f612 Minor clean up to imports 2019-02-09 10:17:37 -08:00
Grant Sanderson
d68b2a44a7 Tiny spacing change 2019-02-09 10:17:15 -08:00
Grant Sanderson
395bb6434b Reimplemented fading animations based on new Animation structure 2019-02-09 10:09:45 -08:00
Grant Sanderson
9baae55836 Added create_starting_mobject method, and suspend_mobject_updating config variable 2019-02-09 10:09:19 -08:00
Grant Sanderson
10850c5af6 FadeInAndShiftFromDirection -> FadeInFrom 2019-02-09 09:36:37 -08:00
Grant Sanderson
22eab68e2a Added Transform.create_target to make implementation of subclasses cleaner 2019-02-09 09:25:13 -08:00
Grant Sanderson
88b35c45b8 Created fading.py and growing.py to help break up animation.creation.py 2019-02-09 09:08:57 -08:00
Grant Sanderson
691d5b7657 Mild reorganization 2019-02-09 08:59:13 -08:00
Grant Sanderson
2d945dc929 Reimplemented DrawBorderThenFill 2019-02-09 08:59:02 -08:00
Grant Sanderson
ab9effbc3c Small fixes to DrawBorderThenFill and Write 2019-02-08 20:19:16 -08:00
Grant Sanderson
88e700b5b0 Small fixes to AnimationGroup and Succession 2019-02-08 20:18:54 -08:00
Grant Sanderson
67817e9c6d Cleaned up remainder of Transform animations 2019-02-08 19:08:09 -08:00
Grant Sanderson
707a2f6f63 Get rid of lag_factor 2019-02-08 18:42:40 -08:00
Grant Sanderson
f1b847deff Changed implementation of TransformFromCopy 2019-02-08 18:10:55 -08:00
Grant Sanderson
72c5c53c1e Rewrote DrawBorderThenFill to work with Succession 2019-02-08 16:53:37 -08:00
Grant Sanderson
85616f0019 Fixed ApplyMethod to only create target once the begin method is called 2019-02-08 16:51:26 -08:00
Grant Sanderson
eb7f1e21a3 Fixed Succession to work when animations share a mobject 2019-02-08 16:50:48 -08:00
Grant Sanderson
64eb670027 Get rid of lagged_start 2019-02-08 15:53:27 -08:00
Grant Sanderson
cf92cd161e Get rid of all_at_once 2019-02-08 15:49:06 -08:00
Grant Sanderson
f9010f3421 Get rid of one_at_a_time 2019-02-08 15:44:58 -08:00
Grant Sanderson
f5bf0b39b0 Reimplement Animation.get_sub_alpha based on lag_ratio 2019-02-08 15:38:02 -08:00
Grant Sanderson
a2d99741f3 Remove kwargs from begin_animations 2019-02-08 15:26:30 -08:00
Grant Sanderson
3d6092c06c Get rid of ApplyToCenters 2019-02-08 15:08:40 -08:00
Grant Sanderson
6b195f4653 Make sure AnimationGroup works well with updating mobjects 2019-02-08 15:06:49 -08:00
Grant Sanderson
13b701ba1b LaggedStart -> OldLaggedStart 2019-02-08 14:49:38 -08:00
Grant Sanderson
22f4a83ba8 Completely reimplemented AnimationGroup to be way simpler and more robust 2019-02-08 14:48:17 -08:00
Grant Sanderson
98a6c4bff0 Slight change to imports and comments of animation 2019-02-08 14:47:46 -08:00
Grant Sanderson
a1cead1570 Factored out parts of Scene.play 2019-02-08 12:51:21 -08:00
Grant Sanderson
ec638de1ec Fixed Animation to work for updating mobjects 2019-02-08 12:32:24 -08:00
Grant Sanderson
bf738b70d7 update_submobject -> interpolate_submobject 2019-02-08 12:00:51 -08:00
Grant Sanderson
1c4ff6a556 update_mobject -> interpolate_mobject for Animation, but not for ContinualAnimation 2019-02-08 11:57:27 -08:00
Grant Sanderson
bf3d9c9b5a clean_up -> clean_up_from_scene 2019-02-08 11:00:04 -08:00
Grant Sanderson
f4ddbef136 Get rid of instantiate function 2019-02-08 10:33:08 -08:00
Grant Sanderson
84b07bc347 Fixed Polygon.round_corners bug 2019-02-07 22:25:09 -08:00
Grant Sanderson
2449f3a284 Remove Grid 2019-02-07 21:59:32 -08:00
Grant Sanderson
5b5415cc3e Added round_corners method to Polygon 2019-02-07 21:57:40 -08:00
Grant Sanderson
da0f4ef918 Added adjacent_n_tuples function 2019-02-07 21:57:20 -08:00
Grant Sanderson
bf0e3ab1b0 Changed angle_between_vectors implementation to work for 3d vectors 2019-02-07 21:38:03 -08:00
Grant Sanderson
7a488702e4 Changed Rectangle implementation 2019-02-07 21:24:00 -08:00
Grant Sanderson
d489b5df5c Cleaned up Arrow implementation 2019-02-07 21:14:43 -08:00
Grant Sanderson
9265fc3e41 Bug fix to put_start_and_end_on 2019-02-07 21:14:30 -08:00
Grant Sanderson
0a65ee6725 Getting rid of use_rectangular_stem for Arrow 2019-02-07 17:53:11 -08:00
Grant Sanderson
266f44f10e Added VMobject.set_opacity method 2019-02-07 17:47:16 -08:00
Grant Sanderson
9d132ed5e5 Cleaned up implementation of DashedLine 2019-02-07 15:41:54 -08:00
Grant Sanderson
3de8c2f04c Added VMobject.get_subcurve, and cleaned up implementation of DashedVMobject 2019-02-07 15:41:15 -08:00
Grant Sanderson
0dfc5a576b dashed_segment_length -> dash_length 2019-02-07 15:40:26 -08:00