C
opengl_test a C code which uses OpenGL to display graphics information.
OpenGL is most commonly used with C or C++ codes, but can also be called by a Fortran program if the necessary intermediate "Fortran bindings" (an interface package) have been installed.
OpenGL only does graphics rendering, and has no concept of windowing systems, input devices, printing to the screen and so on. These extra functions must be provided by an auxilliary package. One common package as known as GLUT, for the Graphics Language Utility Toolbox.
The information on this web page is distributed under the MIT license.
opengl_test is available in a C version and a C++ version.
fern_opengl, a C code which uses OpenGL to display the Barnsley fractal fern.
flood_opengl, a C code which uses OpenGL to allow the user to select regions of a 2D image and flood them with color, by Art Wetzel.
life_opengl, a C code which simulates a version of John Conway's "Game of Life", displaying the results using OpenGL.
lights_out_game, a C code which sets up a "Lights Out" game and allows the user to solve it, using the OpenGL graphics window.
screenshot_opengl, a C code which shows how a program using the OpenGL graphics library can save a screenshot of the graphics being displayed.