Basic Python Turtle Code: Curly Tops

Published: 28 March 2022
on channel: Basic Python Turtle Art
70
0

A simple graphic generated by 6 sets of arcs and spirals. The basic Python Turtle code uses just 19 lines and one loop.

Please feel free to copy and paste the basic Python Turtle code below. Don't hesitate to ask questions about the code if you have any. Please enjoy and subscribe! :)

import turtle
scrin = turtle.Screen()
t = turtle.Turtle()
t.pensize(5)
t.left(7)
for i in range(6):
t.color("green")
t.left(90)
t.circle(-33, 180)
t.color("blue")
r = 122
for j in range(12):
t.circle(r - 11 * j, 60)
t.left(150)
t.penup()
t.goto(0,0)
t.pendown()
t.ht()
scrin.exitonclick()


On this page of the site you can watch the video online Basic Python Turtle Code: Curly Tops with a duration of hours minute second in good quality, which was uploaded by the user Basic Python Turtle Art 28 March 2022, share the link with friends and acquaintances, this video has already been watched 70 times on youtube and it was liked by 0 viewers. Enjoy your viewing!