Monday 30 May 2011

Cellular Automata



THE GAME OF LIFE




This is a simple free to download application I made to demonstrate John Conway's rules for cellular automata.
When the application first launches, you can press enter to run the default examples. Or alternatively press 'E' which will open the editor.

Pressing 'C' in the editor clears the grid, allowing you to start afresh.

Once you've finished editing you can save your progress by pressing 'S'.

Load your saved ideas by pressing 'L' in the editor.

Press 'R' while the program is running to switch the randomizer on or off. This repeatedly plots a random cell within the grid, activating any static cells.

To quickly view information about the program, press 'I'.
This will show the following:

I: INFORMATION
R: RANDOMIZER ON/OFF
E: EDITOR
ARROWS: GUIDES THE PLOTTER
SPACE BAR: PLOTS/DELETES
ENTER: RUN
ESCAPE: QUIT
C: CLEAR
L: LOAD
S: SAVE

SOME EXAMPLES:

Still Life:





These shapes will remain static unless interrupted by other moving cells.



Oscillators:





These shapes will continually oscillate in one position on the grid until interrupted.



Gliders:





These shapes change with each generation making them appear to roam along the screen. This routine again will alter if interacted with other cells.


The default examples shows some of these examples and more such as the Gosper Glider Gun. More information about the examples and cellular automata can be easily found on the internet.


DOWNLOAD Cellular Automata