Flashing colors, clear screen not working, lines not drawing

I tried posting a thread only for it to never appear, I’m not sure what happened.

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.

In the end, the program should look like this: - YouTube

I also recorded what it looks like now, and put information in the description.