Commit graph

225 commits

Author SHA1 Message Date
Grant Sanderson
e278c55cbe Change default FadeIn and FadeOut lag_ratio 2019-02-11 22:30:51 -08:00
Grant Sanderson
776f2707a5 Change default lag_ratio to something very small 2019-02-11 22:25:22 -08:00
Grant Sanderson
ff53c57d9d Tiny line swap 2019-02-11 22:25:02 -08:00
Grant Sanderson
312e9c460b Add an option to not display zero by default 2019-02-11 22:24:17 -08:00
Grant Sanderson
b2608d7b93 Use null_point_align 2019-02-11 22:24:02 -08:00
Grant Sanderson
03d88bc926 Use Mobject.become instead of Transform.update(1) 2019-02-11 22:23:33 -08:00
Grant Sanderson
1735f16d68 Fixed NumberLine bug 2019-02-11 22:14:00 -08:00
Grant Sanderson
86d3ade0ef Change restore implementation using become 2019-02-11 21:18:08 -08:00
Grant Sanderson
f429f46df8 Got rid of fade_no_recurse idea 2019-02-11 21:15:15 -08:00
Grant Sanderson
b2625b0667 Whoops, left a print statement 2019-02-11 20:55:19 -08:00
Grant Sanderson
1aaef5aba9 Change where Animation.begin is invoked 2019-02-11 20:53:20 -08:00
Grant Sanderson
9f76063271 Fix some bugs with VMobject.align_points 2019-02-11 20:52:54 -08:00
Grant Sanderson
8877a256f2 Indexing of TexMobject should be no different from other Mobjects 2019-02-11 20:52:22 -08:00
Grant Sanderson
da134f7c0b Changed how align_submojects works, partly to be simply, partly to shift to using null mobjects instead of ocpies 2019-02-11 20:51:57 -08:00
Grant Sanderson
390e774160 Changed Transform.get_all_families_zipped, since when target_mobject doesn't have its data sligned, problems ensue 2019-02-11 20:50:54 -08:00
Grant Sanderson
08fb372fb7 get_all_families_zipped shouldn't be obligated to return list type 2019-02-11 20:50:07 -08:00
Grant Sanderson
4abafe608a Remove comment about ContinualAnimation 2019-02-11 16:11:53 -08:00
Grant Sanderson
c23f456fd6 Slightly cleaner implementation of set_cairo_context_path 2019-02-11 16:05:35 -08:00
Grant Sanderson
1f320a3974 Fixed small bug with Camera not properly transforming points 2019-02-11 15:49:12 -08:00
Grant Sanderson
82f0afb4dd Got rid of ContinualUpdate 2019-02-11 15:48:44 -08:00
Grant Sanderson
52d4eb2e9e Get rid of ContinualUpdate and ContinualUpdateFromTimeFunc 2019-02-11 15:09:28 -08:00
Grant Sanderson
fd6a6482f9 Get rid of ContinuallyChangingDecimal 2019-02-11 15:01:38 -08:00
Grant Sanderson
605ca08e6f Remove CycleAnimation ContinualAnimation, replace with cycle_animation which adds a mobject updater 2019-02-11 14:28:45 -08:00
Grant Sanderson
6c03bb4f1e Get rid of NormalAnimationAsContinualAnimation 2019-02-11 14:08:48 -08:00
Grant Sanderson
1eb8180d3d Get rid of ContinualMovement, replace with always_shift 2019-02-11 13:37:07 -08:00
Grant Sanderson
04b4c1dad8 Get rid of ContinualRotation 2019-02-11 13:22:22 -08:00
Grant Sanderson
a73cbb8014 Added always_shift and always_rotate 2019-02-11 13:17:23 -08:00
Grant Sanderson
62c4967f21 Add always function, for mobject updating by a method 2019-02-11 13:04:52 -08:00
Grant Sanderson
94d7a8a663 updating_mobject_from_func -> always_redraw 2019-02-11 12:58:52 -08:00
Grant Sanderson
bac64eddb3 Rename updater.py to mobject_update_utils.py 2019-02-11 12:51:50 -08:00
Grant Sanderson
94b943f544 Removed use of self.__dict__ in DecimalNumber 2019-02-10 10:56:24 -08:00
Grant Sanderson
d742d48d13 Removed unnecessary import 2019-02-10 10:56:08 -08:00
Grant Sanderson
92eaa733cd Minor cleanup to animation/update.py 2019-02-10 10:43:45 -08:00
Grant Sanderson
05c7196a6f Cleaned up specialized animations 2019-02-10 10:26:29 -08:00
Grant Sanderson
306ee31d44 Fixed car problems. Regular mechanic over here 2019-02-10 10:26:08 -08:00
Grant Sanderson
9550174eba Cleaned up rotation.py 2019-02-09 15:48:36 -08:00
Grant Sanderson
c1cc1a8b24 If about_edge is None, default to ORIGIN 2019-02-09 15:47:32 -08:00
Grant Sanderson
73c20d726a Cleaned up ChangingDecimal 2019-02-09 15:35:44 -08:00
Grant Sanderson
2b64656f35 Cleand up movement.py for new Animation structure 2019-02-09 15:12:35 -08:00
Grant Sanderson
3714446eea Finished updating indication animations 2019-02-09 15:01:41 -08:00
Grant Sanderson
14b9db61b9 Updates to (some) indication animations 2019-02-09 12:07:33 -08:00
Grant Sanderson
69cf682f07 Use super 2019-02-09 11:54:15 -08:00
Grant Sanderson
9180a687f9 Bug fix to Succession; it wasn't initializing runtimes 2019-02-09 11:54:00 -08:00
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
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