Turtle graphics - framerate?

Using Turtle Graphics and Python -- I have a group of 10 basic graphic elements on the screen at the same time and it runs sluggish. As soon as some of the elements "leave" the graphic window, it speeds up considerably. Is there a way to maintain the same frame-rate, regardless of the number of graphic elements?


Solution 1:

You should say:

screen = turtle.Screen()
screen.tracer("I recommend you do 0") # Make sure you do this at the beginning.

By using screen.tracer() you can control the frame rate