예제 #1
0
    def animateSearchLog(self, c, log, completion, fpms=50):
        animation = Animation(c)

        def logAnimation(i):
            self.drawSearchNode(c, log[i])

        animation.timeline = logAnimation
        animation.frame_count = len(log)
        animation.fpms = fpms
        animation.completion = completion
        animation.play()
예제 #2
0
 def clean_up():
     c.delete(ALL)
     Animation.stop()
예제 #3
0
 def clean_up():
     c.delete(ALL)
     startOption.destroy()
     algoOption.destroy()
     Animation.stop()