I’m almost new to OpenGL, I’ve been learning to use basic functions. At this point I’m capable of making a 2D animation. But I have a problem now, my animation is simulating a robotic arm (just with lines haha) so the point is that I have managed to follow a circle path, but I need it to really draw it as my “robot” passes by the circle path. Maybe I’m making bad use of the function glClear(GL_COLOR_BUFFER_BIT) but I need it to make the animation. If I dont use it everything is a mess as you may know.
Any tips to get this done please? I would apreciate your help.