http://pastebin.com/M1eJkTUe

The goal of this program is to draw a spiral made of arcs, clear that spiral, then draw a new one slightly rotated.

My current issues are that the colors flash brightly for a frame every few frames, and if you pause the script or take a screenshot, apparently two of the arms disappear (so fast that it appears to flash) while the other two are solid.

Also, glClear(GL_COLOR_BUFFER_BIT); doesn't seem to really clear the screen so I'm not sure what's wrong there, but I'm fine without it for now as I can see if the next spiral is rotating.