Probabalistic Life v1.4

Based on the classic "Game Of Life" by John Conway
and an idea by "Arrogant Schmuck" from my message board.

This is essentially the normal Game Of Life, but allows you to set the probability that any given cell will die or be born on each generation.

You need to have the Java 1.4 runtime environment installed on your computer for this to work. It can therefore run on any computer that supports Java, including PC, Mac, Solaris, SGI etc.

You can download the Windows version from http://java.sun.com/j2se/1.4/download.html

Controls :


Settings
Brings up settings dialog

New
Creates a new blank grid

New Random
Creates a new, random grid, to the density given in Settings dialog

Toggle edit mode
While set, use the left and right mouse buttons to set/clear cells.

Run
set the simulation running (speed determined in Settings dialog)

Step
process a single generation

Pause
pause the simulation

Zoom in

Zoom out

The slider can be used to adjust the delay between each generation, from 0 to 500 milliseconds.

Settings dialog :

Delay : pause between each frame of the simulation in milliseconds. 500 = 1/2 second. 250 = 1/4 second, 0=full speed, etc. This may also be set with the slider control on the main window.

Initial density : how dense the grid is when you hit "Random". 0.1 = sparse, 0.9 = very dense.

Presets : Select one of the options to fill the settings fields for particular variants, such as the standard Conway Life. If you find any interesting settings let me know and I can add them to the list.

Size : Size of the grid square. 128 is a good value. Higher values will require a faster computer. Don't bother going over 1000.

p(birth) : probability cell will be born for if it has neighbours (n) - a value between 0.0 and 1.0

p(death) probability cell will die if it has neighbours (n) - a value between 0.0 and 1.0

Future enhancements (maybe)

Insert simple patterns (gliders etc. with mouse).

Load specific preset patterns.

Have variable width/height for the screen (at the moment it is always a square)

Load GIF images.

Save current window as a GIF file. (Note : If you want to take a snapshot of a screen, on Windows you can press "CTRL-PRINTSCRN" to copy it to the clipboard as a BMP image, which can then be pasted into Paint)


back to atheism page

email me