Block Letter Representation and Banner Tool

Use hexadecimal representation of 8x8 block letters here. Put the representation codes in the box on the left, and the symbols they represent appear on the right. To create a banner with the block letters you defined, enter text in the Banner Message box. See directions below.

JL Popyack, 2014


Input Representation Codes Here

See Results Here:


Directions:

Below are shown crude depictions of block letters 'A' and 'B', each drawn on an 8x8 grid. Since each grid element is either "empty" or "full", the grid can be expressed as a sequence of binary numbers, using '0' and '1' appropriately, as shown in the "Binary Form" column. Furthermore, since these binary numbers have 8 bits each, it is simple to translate them to hexadecimal, as shown in the "Hex Form" column.

Block Letter Binary Form Hex Form Data
0001 0000
0010 1000
0100 0100
0100 0100
0111 1100
0100 0100
0100 0100
0100 0100
1 0
2 8
4 4
4 4
7 C
4 4
4 4
4 4
10 // A
28
44
44
7C
44
44
44
F8 // B
84
84
FC
84
82
82
FC


1111 1000
1000 0100
1000 0100
1111 1000
1000 0100
1000 0010
1000 0010
1111 1100

F 8
8 4
8 4
F C
8 4
8 2
8 2
F C

The 'data' column therefore contains hex descriptions for block letters 'A' and 'B' as shown. These values are provided by default to the form above. Clicking the "Check Code" button causes the data to be interpreted and prints the block letters 'A' and 'B' in the display window on the right.  

You can modify the data by adding more 8x8 hex representations of block letters (and/or digits or other symbols) to it. (You may wish to begin by modifying the description of 'B', which has purposely been left a little ragged, or 'A', which may be a bit too narrow.) This program will display as many characters (from 'A' to 'Z', 'a' to 'z', '0' to '9', special characters, etc.) for which data exists.

Note that Block Letter Tool has very specific rules for the form of the data, and is not very forgiving if the data is incorrect or incomplete. The data must be legal hex constants. There should be 8 lines of data for each block letter, and the hex constants should be at the beginning of a line (no spaces in front of them). The characters // A, // B shown in the data file designate that the first letter is 'A' and the next is 'B'. You should use the same scheme for designating the character described by each data set you provide.

Banner Message:

You can create a banner using the symbols you defined by entering the desired text in the Banner Message box, and clicking the Create Banner button. Symbols not defined are shown as blanks. For instance, enter

ABBA
Abba
BUBBA

in the box and test it with the original data supplied. You should find that a message shows the symbols A and B in their proper positions wherever used, but the other symbols a, b and U are shown as blanks because they are not defined.