Exemple #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()
Exemple #2
0
 def clean_up():
     c.delete(ALL)
     Animation.stop()
Exemple #3
0
 def clean_up():
     c.delete(ALL)
     startOption.destroy()
     algoOption.destroy()
     Animation.stop()