-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemoji.js
136 lines (121 loc) · 4.06 KB
/
emoji.js
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
;
~
{ re:
{ hi: true
, id: '[email protected]'
, by: ['🙇🏾♂️ יהוה 🤲🏾', 'mike🇬🇾👨🏾💻🇺🇸lee']
, on: {201510214.2 : -7}
, to: {578311093.1 : -8}
, at: +6.002
, is:
[ "anemojii's emoji"
, "creating a random ion, aesop | storie type emoji on each request"
],
we:
[ "will remove our hip-hop invocation once with@ auto-resolves names"
, "know there was a challenge with ion members named next lacking .with"
, "like emoji parts in their own ion separate from their composition"
]
},
with:
{ our:
{ emoji:'my@'
}
},
ionify:function
ionify ()
{ var emoji = this
emoji.with.our.emoji = emoji
},
new:
function next ()
{ var emoji = next.with.my
, types = emoji.types
, type = types [Math.random() * types.length | 0]
; return emoji.create (emoji [type])
},
types:
['aesop', 'ion'/*, 'number'*/, 'storie'/*, 'string'*/
],
create:
function create (compose)
{ var emoji = create.with.my
, get = emoji.choose
, eyes = emoji.eyes
, eye = Math.random() * eyes.length | 0
, ears = emoji.ears
, ear = Math.random() * ears.left.length | 0
, face = { left:
{ ear: ears.left [ear]
, eye: eyes [eye] //get (eyes)
},
right:
{ ear: ears.right [ear]
, eye: eyes [eye] //get (eyes)
},
nose:
get (emoji.nose)
}
return compose (face)
},
aesop:
function aesop (emoji)
{ with (emoji)
return ( left.ear
+ "['"+ left.eye +' '+ nose +' '+ right.eye +"']"
+ right.ear
)
},
ion:
function ion (emoji)
{ with (emoji)
return left.ear +"{'"+ left.eye +"':'"+ right.eye +"'}"+ right.ear
},
number:
function number (emoji)
{ []^0.0^[] , []*0.0*[] , []+0.0+[] , []-0.0-[] , []|0.0|[] & []%0.0%[]
with (emoji)
return left.ear + '0.0' + right.ear
},
storie:
function storie (emoji)
{ with (emoji) return "+/ d('"+ left.eye +' '+ nose +' '+ right.eye +"')b /;"
},
string:
function string (emoji)
{ []^'0 . 0'^[] & 0|'~ . ~'|0 <= /examples/
with (emoji)
return left.ear +"'"+ left.eye +' '+ nose +' '+ right.eye +"'"+ right.ear
},
choose:
function choose (feature)
{ return feature [Math.random() * feature.length | 0]
},
eyes:
[ 'o', 'ô', 'õ', 'ō', 'ø', 'ó', 'ò', 'ö', 'ª', 'º', '˚', '•', '¨', '^', '~'
, 'O', 'Ô', 'Õ', 'Ō', 'Ø', 'Ó', 'Ò', 'Ö', '0', '∂', 'å', '¢', '-', '*', '≈'
, '÷', '+', '≥', '≤', '♥︎', '♡', '☀︎', '☼', '★', '☆', 'æ', 'œ', '©', '®', '˜'
, '⚛︎', 'π', '“', '‘', '☌', '✇', '⚀', '⚙︎', 'ˆ', '™', '¬', '∞', '≠', '⚇', 'ñ'
, '⚈', '⚆', '⚉', ' ͡°','⭐︎'
],
ears:
{ left:
[/*'d' , 'q' ,*/ '~', '-', '+'
, '0-', '0^', '0*', '0+', '0>', '0&', '0|' //, '0%', '0>>'
, '8-', '8^', '8*', '8+', '8>', '8|' //, '8&', '8%', '8>>'
, '[]-', '[]^', '[]*', '[]+','[]>', '[]|' //, '[]<'
],
right:
[ /*'b', 'p' ,*/';' , ';' , ';'
, '-0', '^0' , '*0' , '+0' , '<0' , '&0', '|0' //, '%0' , '<<0'
, '-8', '^8' , '*8' , '+8' , '<8' , '|8' //, '&8' , '%8', '<<8'
, '-[]', '^[]', '*[]', '+[]', '<[]', '|[]' //, '>[]'
]
},
nose:
[ '.', '…', ',', ':', ';', '¡', 'ᴗ', 'ñ', '⚛︎', 'ß', '¥', '√', '∫', '∆', '«'
, '⚯', '☋','⚭', 'ç', 'ʖ', ' ͜ʖ', '؈', 'ډ', 'ڊ', 'ڋ', 'ڌ', 'ڍ', 'ڎ', 'ڏ', 'ڐ'
, 'µ', '§', '¿', '?', '£', '¶', '🁢', '🁣', '⚘', '☄︎', '@', '#', '☇'
]
}
;