Lesson 42 of 51 · Animations
tracer() — Speed Boost
tracer(n) turns off animation and updates every n steps — huge speed boost!
Python
from turtle import *
bgcolor("black")
color("violet")
pensize(2)
tracer(100)
hideturtle()
for i in range(250):
forward(i)
right(91)
update()
done()Output

1
How it Works
tracer(0) turns off all updates. tracer(100) updates every 100 actions.