Python Turtle - Circle Spirograph Tutorial - YouTube Ajcoding

Published: 15 July 2022
on channel: codeaj
68
4

Python Turtle - Circle Spirograph Tutorial - YouTube Ajcoding
Source code:
#Python turtle spiral hexagon
import turtle
colors = [ "pink","yellow",
"blue","green","white","red"]
sketch = turtle.Pen()
turtle.bgcolor("black")
for i in range(200):
sketch.pencolor(colors[i % 6])
sketch.width(i/100 + 1)
sketch.forward(i)
sketch.left(59)
Tags:


On this page of the site you can watch the video online Python Turtle - Circle Spirograph Tutorial - YouTube Ajcoding with a duration of hours minute second in good quality, which was uploaded by the user codeaj 15 July 2022, share the link with friends and acquaintances, this video has already been watched 68 times on youtube and it was liked by 4 viewers. Enjoy your viewing!