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