hi guys, I'm having a bit of a problem with getting the logic worked out for a script. I need to trace lines on an image, get the coordinates of each pixel in the line. So the way I thought to do this was using an edge tracing algorithm. What I'm doing is reading through each pixel until it finds the specified colour and then I want to follow the coloured pixels around. Now, I'm wondering how I would get it to continue. I thought recursive functions, but that seems kind of messy.
Any ideas?