We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6690d8 commit 8e71ab9Copy full SHA for 8e71ab9
examples/turtle_benzene.py
@@ -2,7 +2,7 @@
2
from Adafruit_CircuitPython_turtle.adafruit_turtle import *
3
4
turtle = turtle(board.DISPLAY)
5
-benzsize = min(board.DISPLAY.width, board.DISPLAY.height) * 0.9 # 90% of screensize
+benzsize = min(board.DISPLAY.width, board.DISPLAY.height) * 0.5
6
7
print("Turtle time! Lets draw a rainbow benzene")
8
@@ -11,7 +11,7 @@
11
turtle.pendown()
12
start = turtle.pos()
13
14
-for x in range(66):
+for x in range(benzsize):
15
turtle.pencolor(colors[x%6])
16
turtle.forward(x)
17
turtle.left(59)
0 commit comments