Not every transition, but all of the optimal ones https://xkcd.com/832/
There is also an equivalent set of "worst" choices, and even for the "best" choices, it has four rotations, since there are four corners that X could start from that are topographically the same.
Still cool though :-)