Tim,
And, our test of when to save new x and y values is messed up. Consider what happens when firstsavedand = 9, or 1001 in binary. From iteration 0 (which we don't use) to 8, every other iteration saves a new x and y. From 9 through 15, every iteration saves a new x and y. From 16 to 24, every other iteration saves a new x and y. From 25 through 32, every iteration saves a new x and y. And so on... Ack!!!
Almost. From 9 through 15 and 25 through 32, no iteration saves a new x and y. Still, it's not what we had in mind.
I'm going to leave it the way it is. I couldn't make changes that would create images in a shorter length of time. There are still a couple of things I need to check, then I'll start putting a patch together. Jonathan