Commit graph

300 commits

Author SHA1 Message Date
Grant Sanderson
67a33d2e88 Use super() in __init__ functions 2019-02-09 10:56:51 -08:00
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
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
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
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
b7cf5e82e3 rate_func can no longer be None, must be a function. Use 'linear' instead of None 2019-02-05 15:39:58 -08:00
Grant Sanderson
5e63b5743d Update target mobject before Transform 2019-02-03 12:08:37 -08:00
Grant Sanderson
51656c4dfc Use deepcopy in Rotate 2019-02-03 12:08:11 -08:00
Grant Sanderson
6165f49959 Remove unnecessary import 2019-02-03 12:07:37 -08:00
Grant Sanderson
c9ea85936f Update mobject at the start of an animation 2019-02-03 12:03:37 -08:00
Grant Sanderson
40273bab1d Changed implementation of ShowPassingFlash to something that felt less confusing 2019-01-29 23:52:01 -08:00
Grant Sanderson
358b1e6313 Make LaggedStart adopt default rate_func and run_time of the animation it takes in 2019-01-29 23:51:24 -08:00
Grant Sanderson
a62eb989de Simpler animation config for ShowCreationThenFadeAround 2019-01-22 15:38:25 -08:00
Grant Sanderson
9c9104dcfa Fixed GrowFromPoint 2019-01-22 15:37:36 -08:00
Grant Sanderson
66075aa5d2 Added ShowIncreasingSubsets 2019-01-17 14:09:15 -08:00
Grant Sanderson
1064f80d5b Added ShowCreationThenFadeOut 2019-01-16 11:07:36 -08:00
Grant Sanderson
e5e233262c CircleThenFadeAround -> ShowCreationThenFadeAround 2019-01-15 12:20:43 -08:00
Grant Sanderson
cf958684e8 Moved uncertainty Flash animation into indication, and cleaned up for more general use 2019-01-05 11:08:08 -08:00
Devin Neal
afdf907abc fix imports, remove __init__.py files, some pep8 linting 2018-12-27 09:41:41 -08:00
Devin Neal
3543a750ba move library code into manimlib, replace relative imports with absolute imports 2018-12-26 20:57:01 -08:00