-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathandroid.py
More file actions
63 lines (49 loc) · 718 Bytes
/
android.py
File metadata and controls
63 lines (49 loc) · 718 Bytes
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
from turtle import *
speed(100)
bgcolor("black")
pen(pencolor="#80b602")
shape("square")
fillcolor("#80b602")
penup()
width(1)
seth(90)
forward(30)
shapesize(6, 5, 40)
stamp()
shapesize(6, 6, 40)
shape("circle")
# seth(90)
forward(55)
stamp()
hideturtle()
def limb(x, y):
goto(x, y)
pendown()
width(40)
forward(70)
penup()
limb(108, 0)
limb(-108, 0)
limb(33, -80)
limb(-33, -80)
goto(35, 128)
dot(14, "black")
goto(-35, 128)
dot(14, "black")
def antenna(x, y, angle):
goto(x, y)
width(5)
pendown()
seth(angle)
forward(35)
penup()
antenna(30, 150, 65)
antenna(-30, 150, 115)
penup()
goto(80, 90)
pen(pencolor="black")
width(8)
pendown()
seth(0)
back(160)
done()