@mvaganov/

NavyblueComplexAutomaticvectorization

Python (with Turtle)

No description

fork
loading
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import turtle
t= turtle
t.color("#f3ccff")
t.goto( 0,100)
t.goto(100,100)
t.goto(100, 0)
t.goto( 0, 0)

t.color("#edbafc")
t.fillcolor("#db6cfc")
t.begin_fill()
counter = 0 
while counter < 5:
  turtle.forward(180)
  turtle.left(72)
  counter += 1
turtle.end_fill()

t.color("#edbafc")
t.fillcolor("#db6cfc")
t.begin_fill()
counter = 0
while counter < 6:
  turtle.forward(180)
  turtle.left(60)
  counter += 1
turtle.end_fill()

t.color("#edbafc")
t.fillcolor("#db6cfc")
t.begin_fill()
counter = 0
while counter < 7:
  turtle.forward(180)
  turtle.left(51.43)
  counter += 1
turtle.end_fill()

t.color("#edbafc")
t.fillcolor("#db6cfc")
t.begin_fill()
counter = 0
while counter < 8:
  turtle.forward(180)
  turtle.left(45)
  counter += 1
turtle.end_fill()
result
console