Attention: "gray" patterns are different from default gray code patterns. The latter are not centered symmetrically (origin on top-left)
