Oh, wow. That is impressive! I'd just do X+Y MOD 2 for the checkerboard.