We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bca0b1a commit 6072688Copy full SHA for 6072688
Awesome Design Collection in Python/AD130.py
@@ -0,0 +1,33 @@
1
+#awesome design 130 in Python
2
+from turtle import *
3
+import colorsys
4
+tracer(232)
5
+bgcolor("black")
6
+
7
+def H():
8
+ h = 0
9
+ n =8
10
11
+ for i in range(500):
12
+ c = colorsys.hsv_to_rgb(h,1,1)
13
+ color('black')
14
+ up()
15
+ goto(0,0)
16
+ down()
17
+ h +=1/n
18
+ pensize(1)
19
+ rt(150)
20
+ circle(i,5)
21
+ lt(10)
22
+ fd(i*3)
23
+ for j in range(i):
24
+ color(c)
25
+ fillcolor("black")
26
+ begin_fill()
27
+ rt(50)
28
+ circle(j,425,steps=50)
29
+ end_fill()
30
31
+H()
32
+ht()
33
+done()
0 commit comments