I want to create a treadmill program with Python Tkinter. How do I create a function for speed that changes over time such as a real treadmill?