Random changes during starty of inventing math

This commit is contained in:
Grant Sanderson
2015-08-01 11:34:33 -07:00
parent 400aa0aada
commit 89a84134e4
10 changed files with 151 additions and 69 deletions

View File

@ -119,7 +119,7 @@ class ApplyMethod(Transform):
)
class ApplyFunction(Transform):
def __init__(self, function, mobject, run_time = DEFAULT_ANIMATION_RUN_TIME,
def __init__(self, mobject, function, run_time = DEFAULT_ANIMATION_RUN_TIME,
*args, **kwargs):
map_image = copy.deepcopy(mobject)
map_image.points = np.array(map(function, map_image.points))