Finished eoc4

This commit is contained in:
Grant Sanderson
2017-02-20 17:23:20 -08:00
parent fd4fdc94af
commit 85f596229b
2 changed files with 163 additions and 22 deletions

View File

@ -182,6 +182,19 @@ class FocusOn(Transform):
Transform.__init__(self, big_dot, little_dot, **kwargs)
class Indicate(Transform):
CONFIG = {
"rate_func" : there_and_back,
"scale_factor" : 1.2,
"color" : YELLOW,
}
def __init__(self, mobject, **kwargs):
digest_config(self, kwargs)
target = mobject.copy()
target.scale_in_place(self.scale_factor)
target.highlight(YELLOW)
Transform.__init__(self, mobject, target, **kwargs)
class Rotate(ApplyMethod):
CONFIG = {
"in_place" : False,