XFIRES is a C program which simulates a forest in which fires and regrowth occur, using X Windows to display the current status of the forest.
XFIRES models forest fires. On each site of a lattice is either nothing, a tree, or a fire. In one time step a fire spreads to adjacent trees and leaves an empty space. Trees are born in a random manner with a probability of approximately 1/32 per time step. If no fires are active, one is started at a random location. Fires can also be started with the mouse button.
An Amiga version of this program was published in the December 1993 issue of "JUMPDISK".
Michael Creutz
MDDISK is a C program which displays a molecular dynamics simulation of a fluid as a collection of soft disks, using X Windows and Motif.
PLTMG_SINGLE is a FORTRAN77 program which carries out a finite element calculation, and uses the X Window library for display.
SHOWME is a C program which uses the X Window library to display triangulatons.
XGED is a C program which can edit graphs visually; it uses the X Window library to display the graph, and to detect the user's input.
XISING is a C program which simulates the variation in ferromagnetism in a material, displaying the results using X Windows.
XWAVES is a C program which simulates the behavior of solution of certain forms of the wave equation, displaying the results using X Windows.
X_WINDOW is a C++ example directory which demonstrates some simple uses of the X Window library.
You can go up one level to the C source codes.