Game of Life


Java Life 2D, Life 3D, Life 4D, Ant 2D, Ant 3D, and Loop

Click on one of the life versions below to run Java program (need Java 8 JVM) written mostly by David Bagley.

Contents

Life2D
Life3D
Life4D
Ant2D
Ant3D
Loop
Source and Jar Files
Notes

Life2D

Here is a simple 2D Game of Life viewer. It not only supports square life, but hexagonal, triangular, and even pentagonal life. The square stuff you probably have seen before... The hexagonal includes life forms discovered by Callahan, Andreen, and Bays. The triangular life with 12 neighbors includes many life forms discovered by Carter Bays including 2 gunships. Newly added is the pentagonal life (Cairo or basket weave tiling) including a glider discovered by Carter Bays and one found by me. Many patterns discovered by Bays or myself. Ideas on improving and bug fixes will be kindly received. :) Neighbors value of 3 or 4 are also possible but does not seem to produce gliders without the rule causing random patterns to expand without bounds. See notes for more info.

Neighbors (bounded rules with gliders) Tiling Configuration Applet
5 (5B2/S24) Pentagonal (Cairo Tiling) Life2D5
6 (6B2/S35, 6B2a/S2b34 Callahan, 6B2a3a4b/S2a2b4a Andreen) Hexagonal Life2D6
7 (7B346/S23) Pentagonal (Cairo Tiling) Life2D7
8 (8B3/S2a2b2c2d3 Maydwell, 8B3[6]/S23, 8B3[6]/S245, 8B36-8/S346-8) Square Life2D
9 (9B3/S34) Triangular (no far corners) Life2D9
12 (12B3/S2, 12B3/S27[8], 12B4/S35, 12B4/S356, 12B4/S4-6,
12B45/S23, 12B45/S34, 12B4-6/S12, 12B4-6/S23, 12B4-6/S34,
12B4-6/S45, 12B46/S24[6], 12B46/S35[6])
Triangular Life2D12
8 (4 State) simulates 3D B5/S6-8 between barriers Square Life2D

You can download the jar file (preserve the .jar extension), and then it can be run as an application like "java -jar Life2DApp.jar".

Life3D

Here is a simple 3D Life viewer It not only supports cubical life, but rhombic dodecahedral life and truncated octahedral life as well. See notes for more info. Many patterns discovered by Bays and myself. Other neighbor values of 6, 8, and alt 14 are possible. Alternated cubic honeycomb tetrahedral/octahedral is neatest so far is the 22 neighbor tetrahedron only.

Neighbors (bounded rules with gliders) Tiling Configuration Applet
12 (12B3/S3, 12B3/S4-6) Rhombic Dodecahedral (Hexagonal Close Packing) Life3D12
14 (14B4/S34) Truncated Octahedral (Cubic Close Packing) Life3D14
18 (18B4/S45 non-bounded) Cubical (Edges and Corners) Life3D18
alt 18 (-18B4/S36, -18B4/S46) Rhombic Dodecahedral (Moore Neighborhood) Life3D-18
20 (20B4/S45 non-bounded) Cubical (Faces and Edges) Life3D20
22 (22B4/S4) Tetrahedral (Tetrahedrons of Alternated Cubic Honeycomb) Life3D22
26 (26B5/S23, 26B5/S25, 26B5/S27,
26B5/S35, 26B5/S36, 26B5/S37, 26B5/S38,
26B5/S4, 26B5/S45, 26B5/S47, 26B5/S56,
26B5/S58, 26B5/S6-8, 26B5/S8, 26B58/S58,
26B6/S5-7, 26B6/S57, 26B67/S57, 26B67/S67)
Cubical Life3D

You can download the jar file (preserve the .jar extension), and then it can be run as an application like "java -jar Life3DApp.jar".

Life4D

Here is a simple 4D Life viewer (much borrowed from Life3D). It not only supports tesseractic life, but icositetrachoric life as well. See notes for more info. Other neighbors value of 8, ..., 56, 72 are also possible, but not explored. Do not expect to magically "see" 4D objects... currently only give one 3D view (zone) at a time.

Neighbors (bounded rules with gliders) Tiling Configuration Applet
24 (24B4/S67, 24B4/S6-8) Icositetrachoric Life4D24
alt 32 (-32B58/S8) Icositetrachoric (Moore Neighborhood) Life4D-32
80 (80B9/S89, 80B_10/S8-_10, 80B_10/S9_10,
80B_10/S9-_11, 80B_10/S_11-_13, 80B_10/S_13-_17
80B_12/S_11-_15, 80B_12_13/S_11_12
Tesseractic Life4D

You can download the jar file (preserve the .jar extension), and then it can be run as an application like "java -jar Life4DApp.jar".

See project notes for todo list and history. Please let me know if I left out anything.

Ant2D

Here is a simple Langton's Ant viewer There is even one with a Cairo Tiling.

Neighbors Tiling Configuration Applet
3 Triangular Ant2D
4 Square Ant2D
5 Pentagonal (Cairo Tiling) Ant2D
6 Hexagonal Ant2D

You can download the jar file (preserve the .jar extension), and then it can be run as an application like "java -jar Ant2DApp.jar".

Ant3D

Here is a simple Langton's Ant viewer This one has a rhombic dodecahedral one in addition.

Neighbors Tiling Configuration Applet
6 Cubical Ant3D
12 Rhombic Dodecahedral Ant3D

You can download the jar file (preserve the .jar extension), and then it can be run as an application like "java -jar Ant3DApp.jar".

Loop

Here is a simple Langton's Loop viewer This one has a hexagonal one in addition. Make the field bigger and it will produce a 2 armed mutant. Also when these loops die they seem to erase themselves (both features were serendipitous).

Neighbors Tiling Configuration Applet
4 Square Loop
6 Hexagonal Loop

You can download the jar file (preserve the .jar extension), and then it can be run as an application like "java -jar LoopApp.jar".

Source and Jar Files

Source Code Jar File Xml File
life2d.zip Life2DApp.jar life2d.xml
life3d.zip Life3DApp.jar life3d.xml
life4d.zip Life4DApp.jar life4d.xml
ant2d.zip Ant2DApp.jar
ant3d.zip Ant3DApp.jar
loop.zip LoopApp.jar

See project notes for todo list and history. Please let me know if I left out anything.

Notes

John Conway's Life was initially explored in 3D by Carter Bays.

A very useful tool by Lee Meeker for finding life forms (particularly 3D and 4D) can be found at xl4d. You will need X to run it (Windows users download Cygwin and also the programming tools and X found there).


Send comments/suggestions to:
Life maintainer

Maintainer's Home Page
Last Revised: 23 March 2017