After seeing the cprogramming tutorial for line algorithms written in Pascal (ick) i thought it would be appropriate to post something with a C, OpenGL flavor.

This demo displays an anolog clock using Bressenhams line and circle algorithms. The only openGL raster primitives used are GL_POINTS to set pixels.

windows and linux freindly source (though you'll have to add '#include <windows.h>' to compile for windows)
requires GLUT library.

enjoy, feedback welcome.