-
Notifications
You must be signed in to change notification settings - Fork 3
/
reference.js
40 lines (40 loc) · 1.69 KB
/
reference.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
// Order used for the following arrays
// * * 0,1
// * * 2,3
// * * 4,5 a.k.a. 1 4 2 5 3 6 ...when counting down the left column then the right
var braille_a = [1,0,0,0,0,0];
var braille_b = [1,0,1,0,0,0];
var braille_c = [1,1,0,0,0,0];
var braille_d = [1,1,0,1,0,0];
var braille_e = [1,0,0,1,0,0];
var braille_f = [1,1,1,0,0,0];
var braille_g = [1,1,1,1,0,0];
var braille_h = [1,0,1,1,0,0];
var braille_i = [0,1,1,0,0,0];
var braille_j = [0,1,1,1,0,0];
var braille_k = [1,0,0,0,1,0];
var braille_l = [1,0,1,0,1,0];
var braille_m = [1,1,0,0,1,0];
var braille_n = [1,1,0,1,1,0];
var braille_o = [1,0,0,1,1,0];
var braille_p = [1,1,1,0,1,0];
var braille_q = [1,1,1,1,1,0];
var braille_r = [1,0,1,1,1,0];
var braille_s = [0,1,1,0,1,0];
var braille_t = [0,1,1,1,1,0];
var braille_u = [1,0,0,0,1,1];
var braille_v = [1,0,1,0,1,1];
var braille_w = [0,1,1,1,0,1];
var braille_x = [1,1,0,0,1,1];
var braille_y = [1,1,0,1,1,1];
var braille_z = [1,0,0,1,1,1];
var braille_space = [0,0,0,0,0,0];
var aBraille = [
[1,0,0,0,0,0]/*a*/, [1,0,1,0,0,0]/*b*/, [1,1,0,0,0,0]/*c*/, [1,1,0,1,0,0]/*d*/,
[1,0,0,1,0,0]/*e*/, [1,1,1,0,0,0]/*f*/, [1,1,1,1,0,0]/*g*/, [1,0,1,1,0,0]/*h*/,
[0,1,1,0,0,0]/*i*/, [0,1,1,1,0,0]/*j*/, [1,0,0,0,1,0]/*k*/, [1,0,1,0,1,0]/*l*/,
[1,1,0,0,1,0]/*m*/, [1,1,0,1,1,0]/*n*/, [1,0,0,1,1,0]/*o*/, [1,1,1,0,1,0]/*p*/,
[1,1,1,1,1,0]/*q*/, [1,0,1,1,1,0]/*r*/, [0,1,1,0,1,0]/*s*/, [0,1,1,1,1,0]/*t*/,
[1,0,0,0,1,1]/*u*/, [1,0,1,0,1,1]/*v*/, [0,1,1,1,0,1]/*w*/, [1,1,0,0,1,1]/*x*/,
[1,1,0,1,1,1]/*y*/, [1,0,0,1,1,1]/*z*/
];