We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2796479 commit 8f0dbaaCopy full SHA for 8f0dbaa
Awesome Design Collection in Python/AD142.py
@@ -0,0 +1,31 @@
1
+#awesome design 142 in Pytohn
2
+from turtle import *
3
+import colorsys
4
+tracer(100)
5
+bgcolor("black")
6
+
7
+def H():
8
+ h = 0
9
+ n = 101
10
+ up()
11
+ goto(0,60)
12
+ down()
13
+ pensize(5)
14
+ for i in range(100):
15
+ c = colorsys.hsv_to_rgb(h,1,1)
16
+ color(c)
17
+ h +=1/n
18
+ fd(51)
19
+ circle(i,5)
20
+ for k in range(i):
21
+ fd(42)
22
+ rt(63)
23
+ bk(5)
24
+ circle(k,10)
25
+ rt(51)
26
27
+H()
28
+for p in range(11):
29
+ H()
30
+ht()
31
+done()
0 commit comments