From c8befa5b9a7e4d64ce5cbe0059feeb4b2ac764cb Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Sat, 22 Feb 2020 13:18:50 -0800 Subject: [PATCH] Fix bug with eyes --- manimlib/for_3b1b_videos/pi_creature.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manimlib/for_3b1b_videos/pi_creature.py b/manimlib/for_3b1b_videos/pi_creature.py index f27b7342..bbec116b 100644 --- a/manimlib/for_3b1b_videos/pi_creature.py +++ b/manimlib/for_3b1b_videos/pi_creature.py @@ -132,8 +132,8 @@ class PiCreature(SVGMobject): new_pupil.move_to(pupil) pupil.become(new_pupil) dot.shift( - new_pupil.get_boundary_point(UL) - - dot.get_boundary_point(UL) + new_pupil.point_from_proportion(3 / 8) - + dot.point_from_proportion(3 / 8) ) pupil.add(dot)