The LIFE PROGRAM: Executable or Text Version

The so-called Life Program was a common topic for BASIC programmers back in the 1970's before PCs arrived on the scene.
My program shows how complex, chaotic patterns will emerge from an initial random distribution of "cells", coloured according to their age. The rules for development are extremely simple. For example, cells reproduce when there are two of them together, but not more than five together, and they die at a chosen age.

It also use a 769x1025 integer array, which will only run if your PC has sufficient RAM. Older ones may have a problem, and result in a "DIM Space" error. If this happens, you'll have to use
Alt-F4 to return to normality.

PUDDLE: Executable or Text Version

Choose any one of your .jpg or .bmp photos, and this facility will give the impression of a stone being dropped into a puddle with your picture below. Totally trivial, but as mathematically complex as those programs below. Highly computationally intensive, so therefore mostly transfered to embedded floating point ASM code.

For the Text version, you'll need to provide your own background picture - or disable that feature.

Surface Water Waves: Executable or Text Version

This program illustrates the Dispersive nature of water waves. This means that waves of different wavelengths travel at different speeds, causing the overall shape of the wave to "spread out" over time. Long wave-lengths travel slightly faster than short ones. Also, wave-crests travel exactly twice as fast as the overall wave "packet", so that crests are created at the back of the packet and disappear at the front continually.

This program is very computationally intensive, so the waves are calculated in advance and stored so as to get a quasi real-time motion. You need at least a 1Ghz PC for this to look good. After the waves have stopped moving, press -r- to immediately re-display the same sequence. Press any other key to exit.

CIRCULAR WATER WAVES: Executable or Text Version

When running the program, press -Esc- to exit, or
Alt-F4.
Also mathematical outline available as a Word document :
HERE
A screen print of Circular Waves is shown below.

Return to Top Page                                                                                                           Next Page