Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Retire hanoi.py to old_projects

Grant Sanderson36098ed502a5
diff --git a/hanoi.py b/old_projects/hanoi.py
similarity index 99%
rename from hanoi.py
rename to old_projects/hanoi.py
index 7087ffa74..f6f68213f 100644
--- a/hanoi.py
+++ b/old_projects/hanoi.py
@@ -386,7 +386,6 @@ class TowersOfHanoiScene(Scene):
disk.shift(disk.get_height()*n_disks_here*UP)
self.disk_tracker[peg_index].add(disk_index)
-
def move_disk(self, disk_index, **kwargs):
next_peg_index = self.get_available_peg(disk_index)
self.move_disk_to_peg(disk_index, next_peg_index, **kwargs)