I got a 2D array of values that represent a b&w(1 or 0) bitmap(64x64).. Now i need to read the bitmap in a spiral way starting from (31,31) and store them in a 1 dimensional array.. I've been trying to come up with an efficient algorithm for some time now.... Can somebody please help me out?
thx