I have for example the following two strings:
1: 00101101
2: 00100100
I would like that each number will be place in a box and the boxes with the number one should be higher then the ones with zero.
example:
---------------------------------
| 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 |
--------| |---| | |---| |
----- --------- -----
----- -----
--------| |-------| |--------
| 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 |
---------------------------------
Later on I would like to play with the colors, between boxes which doesn't contain the same number.
I would like some help how to create the boxes.
EDIT It seems that my question was not so clear. I would like that the 'box' of 1 or 0 will not be shifted, but the 'box' of 1 will be simply bigger....