Skip to content

Commit bc8d08e

Browse files
authored
Create AD110.py
1 parent 17147b6 commit bc8d08e

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 110
2+
from turtle import *
3+
import colorsys
4+
bgcolor("black")
5+
h = 0.99
6+
speed(0)
7+
pensize(3)
8+
9+
10+
def design(ang,n):
11+
circle(60+n,90)
12+
lt(ang)
13+
circle(60+n,90)
14+
pu()
15+
goto(-30,0)
16+
pd()
17+
for i in range(160):
18+
c = colorsys.hsv_to_rgb(h,0.8,1)
19+
pencolor(c)
20+
design(151,i)
21+
design(59,i)
22+
design(151,i)
23+
design(59,i)
24+
25+
h += 0.011
26+
27+
ht()
28+
done()

0 commit comments

Comments
 (0)