-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLogo TG1.py
More file actions
85 lines (75 loc) · 1.26 KB
/
Logo TG1.py
File metadata and controls
85 lines (75 loc) · 1.26 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
from turtle import *
v = Turtle()
screen = Screen()
screen.bgcolor('black')
v.speed(1)
v.pensize(5)
screen.title("tg1 logo")
screen.cv._rootwindow.resizable(False, False)
color = 'cyan'
scale = 20
v.color(color)
v.penup()
v.goto((-10*scale,-5*scale))
v.pendown()
v.begin_fill()
v.fillcolor(color)
v.forward(15*scale)
v.left(90)
v.forward(5*scale)
v.left(90)
v.forward(3*scale)
v.left(90)
v.forward(2*scale)
v.right(90)
v.forward(3*scale)
v.right(90)
v.forward(3*scale)
v.right(90)
v.forward(6*scale)
v.left(90)
v.forward(3*scale)
v.left(90)
v.forward(9*scale)
v.left(90)
v.forward(6*scale)
v.right(90)
v.forward(3*scale)
v.right(90)
v.forward(3*scale)
v.right(90)
v.forward(2*scale)
v.left(90)
v.forward(3*scale)
v.left(90)
v.forward(2*scale)
v.right(90)
v.forward(3*scale)
v.left(90)
v.forward(3*scale)
v.left(90)
v.forward(12*scale)
v.end_fill()
v.penup()
v.left(90)
v.forward(18*scale)
v.pendown()
v.begin_fill()
v.fillcolor(color)
v.left(90)
v.forward(6*scale)
v.left(90)
v.forward(2*scale)
v.right(90)
v.forward(3*scale)
v.right(90)
v.forward(5*scale)
v.right(90)
v.forward(12*scale)
v.right(90)
v.forward(3*scale)
v.right(90)
v.forward(3*scale)
v.end_fill()
v.hideturtle()
screen.mainloop()