Created
June 10, 2017 02:02
-
-
Save jmariner/7caa282497af3e0821e06874237342c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const letters = [ | |
0b100111110100100100010001001000011111, // A | |
0b110000011111111100100110010010110110, | |
0b101111101000001100000110000010100010, | |
0b110000011111111100000110000010111110, | |
0b111111111001001100100110010011000001, // E | |
0b111111111001000100100010010001000000, | |
0b101111101000001100000110010010101111, | |
0b111111110001000000100000010001111111, // I (3 wide) | |
0b110000011111111100000100000000000000, | |
0b100000100000001100000111111101000000, // J | |
0b111111110001000001010001000101000001, | |
0b111111110000001000000100000010000001, | |
0b111111110100000001100001000001111111, | |
0b111111110010000000100000001001111111, | |
0b101111101000001100000110000010111110, | |
0b111111111001000100100010010000110000, | |
0b101111101000001100010110000100111101, | |
0b111111111001000100110010010100110001, | |
0b101100101001001100100110010010100110, | |
0b110000001000000111111110000001000000, // T | |
0b111111100000001000000100000011111110, | |
0b111111000000010000000100000101111100, | |
0b111111100000001000111000000011111110, | |
0b111000110010100000100000101001100011, | |
0b111100000001000000011100010001110000, | |
0b110000111000101100100110100011100001, // Z | |
0b100000100010101001010100101010001111, // a | |
0b111111110001001001000100100010001110, | |
0b100011100010001001000100100010000010, // c | |
0b100011100010001001000100010011111111, | |
0b100011100010101001010100101010001100, | |
0b100010000111111100100010000000100000, | |
0b100010000010101001010100101010011110, | |
0b111111110001000001000000100000001111, | |
0b100010011011111000000100000000000000, // i (3 wide) | |
0b100000100000001001000110111100000000, // j (4 wide) | |
0b111111110000100000101000100010000000, // k (4 wide) | |
0b110000011111111000000100000000000000, // l (3 wide) | |
0b100111110010000000111100100000001111, | |
0b100111110001000001000000100000001111, | |
0b100011100010001001000100100010001110, | |
0b100111110010100001010000101000001000, // p | |
0b100010000010100001010000011000011111, | |
0b100111110001000001000000100000001000, | |
0b100010010010101001010100101010000010, | |
0b100100001111110001000100000010000010, | |
0b100111100000001000000100000100011111, // u | |
0b100111000000010000000100000100011100, | |
0b100111100000001000011000000010011110, | |
0b100100010001010000010000010100010001, | |
0b100110000000101000010100001010011110, | |
0b100100010010011001010100110010010001, // z | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment