Finished recursive solution to constrained Hanoi

This commit is contained in:
Grant Sanderson
2016-11-18 21:23:52 -08:00
parent 8f06c9db1c
commit cc9aace93f
7 changed files with 640 additions and 51 deletions

View File

@ -84,7 +84,7 @@ class Bubble(SVGMobject):
return self.get_center() + factor*self.get_height()*UP
def move_tip_to(self, point):
self.shift(point - self.get_tip())
VGroup(self, self.content).shift(point - self.get_tip())
return self
def flip(self):