FadeInAndShiftFromDirection -> FadeInFrom

This commit is contained in:
Grant Sanderson
2019-02-09 09:36:37 -08:00
parent 22eab68e2a
commit 10850c5af6
8 changed files with 47 additions and 47 deletions

View File

@ -2858,7 +2858,7 @@ class RepeatedApplicationGraphically(GraphOnePlusOneOverX, PiCreatureScene):
dot = Dot(color=RED, fill_opacity=0.7)
dot.move_to(self.coords_to_point(x_val, curr_output))
self.play(FadeInAndShiftFromDirection(dot, 2 * UR))
self.play(FadeInFrom(dot, 2 * UR))
self.wait()
for n in range(self.n_jumps):
@ -2955,7 +2955,7 @@ class AnalyzeFunctionWithTransformations(NumberlineTransformationScene):
sample_points = list(map(Mobject.get_center, sample_dots))
self.play(OldLaggedStart(
FadeInAndShiftFromDirection, sample_dots,
FadeInFrom, sample_dots,
lambda m: (m, UP)
))
self.show_arrows(sample_points)