I want to create a walker that walks around any shape. the shape can be either pixel color in a matrix or selected edges on a graph. the walker have two functions one is determine the next step and the second is move to the next step. The walker starts on some point that adjacent to the shape and has a general direction to where to go (clockwise or counter-clockwise)
Any tips on how should I tackle that ?
