XBOIDS is a C program which simulates the behavior of a flock of flying animals, called "boids", written by Conrad Parker.
The behavior of the flock is displayed using the X Window graphics display system.
XBOIDS is derived from the boids program written by Craig Reynolds.
The original version of the source code is available at http://www.kfish/org/boids .
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
XBOIDS is available in a C version.
FOREST_FIRE_SIMULATION, a C program which models the occurrence of fires in a forest, and displays the status of the forest using X Windows, by Michael Creutz.
XISING, a C program which simulates the variation in ferromagnetism in a material, displaying the results using X Windows.
XWAVES, a C program which simulates the behavior of solution of certain forms of the wave equation, displaying the results using X Windows.
Conrad Parker
You can go up one level to the C source codes.