Kivy Fade-In Animation
问题 Is there a way to get a fade-in/-out animation on a canvas rectangle background in kivy? I tried it by using the Clock.schedule_interval() function. But several problems occured concerning concurrency and data raise. One of my tries looks as follows: def calendarClicked(self, *args): self.alpha = 1.0 self.alphaDelta = 0.01 self.root.canvas.add(Color(1,0,0,self.alpha)) self.root.canvas.add(Rectangle(size=self.root.size)) def fadeIn(self, dt): self.alpha -= self.alphaDelta self.root.canvas.add