8×8 Binary Lattice

CA = 4×pos1 + 16×pos2 + pos3  |  CA 0 bottom-left → CA 63 top-right