PyDocs

Nav

Graphical user interfaces with Tk

tracer

turtle

function
  • tracer(n=None, delay=None)
Turn turtle animation on or off and set the drawing delay. If n is given, only every n-th regular screen update is performed, which can be used to speed up the drawing of complex graphics. If n is 0, animation is turned off and the screen is only updated by calling update(). If delay is given, it sets the drawing delay, see delay(). When called without arguments, return the current value of n.
1 Example
>>> screen.tracer(8, 25)
>>> dist = 2
>>> for i in range(200):
...     fd(dist)
...     rt(90)
...     dist += 2
from the Python docs
See Also
No see-alsos for turtle/tracer
0 Notes
No notes for tracer