وهدا yellow
 #include<windows.h>
 #include<GL/glut.h>
 
 //قيمة ابتدائية لمكان تحرك الجسم
 float  tx=30;
 
 void display (void)
 {
   glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
 
   glPushMatrix();
 
 //  رسم المثلث المتحرك
   glTranslatef(tx,0,0);
   glColor3ub (246, 199, 0);
   glBegin(GL_TRIANGLES);
   glVertex2f(1,1);
   glVertex2f(50,50);
   glVertex2f(90,10); 
   glEnd();
 //خطوات تحرك الجسم  للجة اليمنى
 if(tx>=30)
          {
       tx=tx+0.01; 
          }
    glPopMatrix();
   glutSwapBuffers();
 }
 
 void main (int argc, char **argv)
 {
   glutInit (&argc, argv);
   glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
   glutInitWindowSize (900, 900);
   glutInitWindowPosition (100, 100);
   glutCreateWindow ("Translate always");
   glMatrixMode(GL_PROJECTION);
   glLoadIdentity();
   glOrtho(0.0, 160.0, 0.0, 160.0,-160.0,160.0);
   glutDisplayFunc (display);
   glutIdleFunc (display);
   glMatrixMode(GL_MODELVIEW);
   glLoadIdentity();
   glutMainLoop();
 }