-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmouths.py
114 lines (109 loc) · 3.97 KB
/
mouths.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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#-- Mouths sorted by numbers, and after, by happy to sad mouths
#-- OttDIY Python Project, 2020
ZERO = const(0)
ONE = const(1)
TWO = const(2)
THREE = const(3)
FOUR = const(4)
FIVE = const(5)
SIX = const(6)
SEVEN = const(7)
EIGHT = const(8)
NINE = const(9)
SMILE = const(10)
HAPPYOPEN = const(11)
HAPPYCLOSED = const(12)
HEART = const(13)
BIGSURPRISE = const(14)
SMALLSURPRISE = const(15)
TONGUEOUT = const(16)
VAMP1 = const(17)
VAMP2 = const(18)
LINEMOUTH = const(19)
CONFUSED = const(20)
DIAGONAL = const(21)
SAD = const(22)
SADOPEN = const(23)
SADCLOSED = const(24)
OKMOUTH = const(25)
XMOUTH = const(26)
INTERROGATION = const(27)
THUNDER = const(28)
CULITO = const(29)
ANGRY = const(30)
mouths = [
0b00001100010010010010010010001100, # zero_code
0b00000100001100000100000100001110, # one_code
0b00001100010010000100001000011110, # two_code
0b00001100010010000100010010001100, # three_code
0b00010010010010011110000010000010, # four_code
0b00011110010000011100000010011100, # five_code
0b00000100001000011100010010001100, # six_code
0b00011110000010000100001000010000, # seven_code
0b00001100010010001100010010001100, # eight_code
0b00001100010010001110000010001110, # nine_code
0b00000000100001010010001100000000, # smile_code
0b00000000111111010010001100000000, # happyOpen_code
0b00000000111111011110000000000000, # happyClosed_code
0b00010010101101100001010010001100, # heart_code
0b00001100010010100001010010001100, # bigSurprise_code
0b00000000000000001100001100000000, # smallSurprise_code
0b00111111001001001001000110000000, # tongueOut_code
0b00111111101101101101010010000000, # vamp1_code
0b00111111101101010010000000000000, # vamp2_code
0b00000000000000111111000000000000, # lineMouth_code
0b00000000001000010101100010000000, # confused_code
0b00100000010000001000000100000010, # diagonal_code
0b00000000001100010010100001000000, # sad_code
0b00000000001100010010111111000000, # sadOpen_code
0b00000000001100011110110011000000, # sadClosed_code
0b00000001000010010100001000000000, # okMouth_code
0b00100001010010001100010010100001, # xMouth_code
0b00001100010010000100000100000100, # interrogation_code
0b00000100001000011100001000010000, # thunder_code
0b00000000100001101101010010000000, # culito_code
0b00000000011110100001100001000000 # angry_code
]
# -- mouth animations
LITTLEUUH = const(0)
DREAMMOUTH = const(1)
ADIVINAWI = const(2)
WAVE = const(3)
aniMouths = [
[
0b00000000000000001100001100000000,
0b00000000000000000110000110000000,
0b00000000000000000011000011000000,
0b00000000000000000110000110000000,
0b00000000000000001100001100000000,
0b00000000000000011000011000000000,
0b00000000000000110000110000000000,
0b00000000000000011000011000000000
],
[
0b00000000000000000000110000110000,
0b00000000000000010000101000010000,
0b00000000011000100100100100011000,
0b00000000000000010000101000010000
],
[
0b00100001000000000000000000100001,
0b00010010100001000000100001010010,
0b00001100010010100001010010001100,
0b00000000001100010010001100000000,
0b00000000000000001100000000000000,
0b00000000000000000000000000000000
],
[
0b00001100010010100001000000000000,
0b00000110001001010000100000000000,
0b00000011000100001000010000100000,
0b00000001000010000100001000110000,
0b00000000000001000010100100011000,
0b00000000000000100001010010001100,
0b00000000100000010000001001000110,
0b00100000010000001000000100000011,
0b00110000001000000100000010000001,
0b00011000100100000010000001000000
]
]