Finally changed to

This commit is contained in:
Grant Sanderson
2018-01-15 19:15:05 -08:00
parent 8f895f3bfc
commit 407d72bb94
91 changed files with 6314 additions and 6309 deletions

View File

@ -49,13 +49,13 @@ class CountingScene(Scene):
if mode == "highlight":
original_color = mob.color
mob.highlight(color)
self.dither(frame_time)
self.wait(frame_time)
mob.highlight(original_color)
if mode == "show_creation":
self.play(ShowCreation(mob, run_time = frame_time))
if mode == "show":
self.add(mob)
self.dither(frame_time)
self.wait(frame_time)
if display_numbers:
self.remove(num_mob)
if display_numbers:
@ -76,7 +76,7 @@ class CountingScene(Scene):
num_mob.center().shift(num_offset)
self.add(num_mob)
self.highlight_region(region)
self.dither(frame_time)
self.wait(frame_time)
if mode == "one_at_a_time":
self.reset_background()
self.remove(num_mob)