-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.py
70 lines (54 loc) · 2.81 KB
/
index.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Import canvas module from sketchpy
from sketchpy import canvas
# Create an object of canvas.sketch class
Turtle = canvas.sketch(x_offset=290, y_offset=320)
# Outline of the face
Turtle.draw_fn("face_out", co=(233, 183, 151), mode=0)
# Outline of the Beard
Turtle.draw_fn("beard_out", co=(30, 25, 31), mode=0)
Turtle.draw_fn("chin1", co=(204, 139, 124), mode=0)
Turtle.draw_fn("chin2", co=(204, 139, 124), mode=0)
Turtle.draw_fn("lip_lower", co=(214, 125, 100), mode=0)
Turtle.draw_fn("lip_upper", co=(186, 30, 21), mode=0)
Turtle.draw_fn("nostril", co=(8, 15, 29), mode=0)
Turtle.draw_fn("nose_curve", co=(128, 69, 56), mode=0)
Turtle.draw_fn("right_eyebrow", co=(12, 16, 22), mode=0)
Turtle.draw_fn("left_eyebrow", co=(12, 16, 22), mode=0)
Turtle.draw_fn("noseline", co=(12, 16, 22), mode=0)
Turtle.draw_fn("eyelid", co=(13, 15, 23), mode=0)
Turtle.draw_fn("eye", co=(17, 12, 20), mode=0)
Turtle.draw_fn("sclera", co=(230, 231, 229), mode=0)
Turtle.draw_fn("eyeball", co=(15, 25, 15), mode=0)
Turtle.draw_fn("eyeball_centre", co=(230, 231, 229), mode=0)
Turtle.draw_fn("hair_outline", co=(12, 16, 25), mode=0)
Turtle.draw_fn("hair_shade1", co=(12, 16, 25), mode=0)
Turtle.draw_fn("hair_shade2", co=(61, 44, 52), mode=0)
Turtle.draw_fn("hair_shade3", co=(119, 64, 75), mode=0)
Turtle.draw_fn("hair_shade4", co=(119, 64, 75), mode=0)
Turtle.draw_fn("hair_shade5", co=(61, 44, 52), mode=0)
Turtle.draw_fn("hair_shade6", co=(119, 64, 75), mode=0)
Turtle.draw_fn("hair_shade7", co=(61, 44, 52), mode=0)
Turtle.draw_fn("hair_shade8", co=(61, 44, 52), mode=0)
Turtle.draw_fn("throat", co=(245, 207, 171), mode=0)
Turtle.draw_fn("throat_shade1", co=(236, 180, 153), mode=0)
Turtle.draw_fn("throat_shade2", co=(236, 180, 153), mode=0)
Turtle.draw_fn("ear_line1", co=(16, 10, 8), mode=0)
Turtle.draw_fn("ear_line2", co=(16, 10, 8), mode=0)
Turtle.draw_fn("ear_line3", co=(16, 10, 8), mode=0)
Turtle.draw_fn("ear_shade1", co=(212, 138, 124), mode=0)
Turtle.draw_fn("ear_shade2", co=(212, 138, 124), mode=0)
Turtle.draw_fn("ear_shade3", co=(212, 134, 122), mode=0)
Turtle.draw_fn("beard_shade1", co=(124, 77, 75), mode=0)
Turtle.draw_fn("beard_shade2", co=(127, 76, 76), mode=0)
Turtle.draw_fn("face_shade1", co=(209, 137, 122), mode=0)
Turtle.draw_fn("face_shade2", co=(208, 138, 119), mode=0)
Turtle.draw_fn("eye_shade1", co=(209, 143, 126), mode=0)
Turtle.draw_fn("eye_shade2", co=(209, 143, 126), mode=0)
Turtle.draw_fn("face_shade3", co=(245, 207, 171), mode=0)
Turtle.draw_fn("face_shade4", co=(240, 208, 169), mode=0)
Turtle.draw_fn("forhead_shade1", co=(202, 135, 119), mode=0)
Turtle.draw_fn("tshirt", co=(0, 30, 82), mode=0)
Turtle.draw_fn("tshirt_color1", co=(193, 36, 57), mode=0)
Turtle.draw_fn("tshirt_color2", co=(4, 31, 138), mode=0)
Turtle.draw_fn("tshirt_color3", co=(3, 35, 180), mode=0)
Turtle.draw_fn("end", retain=True, co=(230, 239, 234), mode=0)