GtkLife is a fast, featureful, open-source Conway's Life program for *nix.
Conway's Life is a form of artificial life (specifically, a cellular automaton)--one of the simplest there is. There are only a few rules:
That's all there is to it. Yet fascinating behavior arises from these simple rules. Gliders, for instance.
You can play Conway's Life with nothing more than a pencil and a sheet of graph paper, but it's a lot faster to use a computer. That's where GtkLife comes in. It is capable of handling complex patterns with ease: the universe holds 1 million x 1 million cells, and the algorithm for computing generations is highly optimized. Speed is comparable to the venerable XLife, and in some cases faster. However, GtkLife also has a modern and friendly user interface.
To your right is a pattern known as "Max," whom I've chosen as the GtkLife mascot :-) On a similar note, the GtkLife icon is a rather pretty period-3 oscillator called a pulsar.
The Life Pattern Archive is included with the source, and after installation, you can browse through it from an optional sidebar on the main window. Each pattern has a description (some brief, some page-long) which you can read by clicking the text icon on the toolbar. Another pattern collection, JSLife, is now included and can be selected via File->Change Pattern Collection. These collections contain all sorts of esoteric and highly engineered patterns: fleets of ships, glider guns, complex oscillators, patterns that construct other patterns, even a prime number sieve. Have fun with them, but also see what you can come up with on your own. Much of the fun of Life comes in watching what arises from simple beginnings.
Thanks are due to Alan Hensel and Jason Summers for allowing me to include their patterns with GtkLife. Thanks also to Alan for his Life applet: I got a lot of programming inspiration by studying Alan's Java code and documentation.
GtkLife is free and open-source, released under the GNU GPL. It requires Gtk+ 1 or 2, but does not require Gnome.
Suggestions, feature requests and bug reports are welcome.
(You can get my public key here and/or from a keyserver.)
Here's a screenshot (the Gtk+ theme used is QN-X11) showing GtkLife in action. Click on the image to view a full-size screenshot.
John Spray has forked a Gnome version called LucidLife, which has various alterations and enhancements to the GUI. I plan to merge some of his changes over time, but GtkLife will remain desktop-agnostic.
If you'd like to learn more about Conway's Life in general, here are a few links to follow:
Site Updated: 2011/April/04
Copyright © 2011, All Rights Reserved. Check the credits before you borrow any of the graphics on these pages.