-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgirl_design.py
More file actions
97 lines (90 loc) · 1.28 KB
/
girl_design.py
File metadata and controls
97 lines (90 loc) · 1.28 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
86
87
88
89
90
91
92
93
94
95
96
97
from turtle import *
speed("fast")
time.sleep(2)
pensize(5)
fillcolor("#F3DBAC")
begin_fill()
circle(140)
penup()
end_fill()
#left
def eye(x,y,c,size):
goto(x,y)
pensize(2)
pendown()
fillcolor(c)
begin_fill()
circle(size)
penup()
end_fill()
eye(80,100,"white",60)
eye(-80,100,"white",60)
eye(-72,110,"#49B7CD",50)
eye(88,110,"#49B7CD",50)
eye(100,120,"black",40)
eye(-61,120,"black",40)
eye(-50,160,"white",15)
eye(110,160,"white",15)
#mouth
goto(-30,60)
pensize(5)
pencolor("black")
pendown()
rt(50)
circle(40,100,100)
penup()
#bangs
goto(-125,200)
pensize(5)
pencolor('black')
pendown()
fillcolor('yellow')
begin_fill()
rt(70)
circle(90,100,100)
rt(155)
circle(90,100,100)
lt(93)
circle(135,130,130)
end_fill()
penup()
#bags
goto(-98,245)
pensize(5)
pencolor("black")
pendown()
fillcolor('yellow')
begin_fill()
rt(90)
circle(70,160,160)
lt(30)
circle(70,140,140)
end_fill()
penup()
# hair
goto(98,245)
pensize(5)
pencolor("black")
pendown()
fillcolor('yellow')
begin_fill()
lt(130)
circle(71,140,140)
lt(35)
circle(71,150,150)
end_fill()
penup()
def hair_tie(x,y):
goto(x,y)
pensize(5)
pencolor("#4983CD")
pendown()
fillcolor("#4983CD")
begin_fill()
circle(10)
end_fill()
penup()
hair_tie(95,255)
hair_tie(-105,255)
hideturtle()
done()