detect the delta values in each vertical position always from the last to the next draw, then sort the 4 patterns in one color, there will always be two colors in each delta value
http://www.mediafire.com/file/8rbhyakdzueze54/posicional_delta.xlsx/file
http://www.mediafire.com/file/8rbhyakdzueze54/posicional_delta.xlsx/file