title: How do i introduce sufficient delay while using glutPostRedisplay() function in OpenGL?
body: <pre><code>void display(void)
  
  {
  
       char text1[10],text2[10];
       int i;
       glPointSize(2.0);
       glClear(GL_COLOR_BUFFER_BIT);
        circle_draw(x1center,y1center,radius1);
        y1center-=5;
        while(y1center&gt;=100)
        {
            glutPostRedisplay();
            y1center-=5;
        }
        glFlush();
  
  }
  </code></pre>
  
  <p>I want to move the circle along the vertical axis.
  But while using the glutPostRedisplay() function I can only see the initial and final positions of the circle. The transition is too fast to see.</p>