Skip to content

Commit 51b552d

Browse files
authored
Create AD145.py
1 parent b7d0c16 commit 51b552d

File tree

1 file changed

+28
-0
lines changed
  • Awesome Design Collection in Python

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#awesome design 145 in Pytohn
2+
from turtle import *
3+
import colorsys
4+
tracer(968)
5+
bgcolor("black")
6+
7+
def H():
8+
h = 0
9+
n = 20
10+
up()
11+
goto(0,60)
12+
down()
13+
pensize(5)
14+
for i in range(449):
15+
c = colorsys.hsv_to_rgb(h,1,1)
16+
color(c)
17+
h +=1/n
18+
fd(10)
19+
circle(i,4.5)
20+
for j in range(550):
21+
lt(971)
22+
circle(i*1,j,steps=2)
23+
circle(i,2)
24+
25+
26+
H()
27+
ht()
28+
done()

0 commit comments

Comments
 (0)