While I'm worried this is above me, for reasons regarding depth I would like to loop through a 2D array starting at a given position and "spiraling" out from that point. The most helpful thing I found online was this https://stackoverflow.com/questions/398299/looping-in-a-spiral?rq=1, however it is in python and I am not able to understand it. If someone could help me with this I would appreciate it alot!