Draw faster circles with Python turtle -
i have exercise wherein have draw lot of circles python turtle. have set speed(0)
, using:
from turtle import* speed(0) i=0 while < 360: forward(1) left(1) i+=1
to draw circles. takes long. there faster way?
you draw fewer segments, rather 360 go 120:
while < 360: forward(3) left(3) i+=3
that make circle less smooth, 3 times faster draw.
Comments
Post a Comment