9464

Hex Life: Hexagonal Cellular Automata

Hex Life is based on Conway's classic game of life, but instead of having cells with only four neighbors, each cell can have up to 12 neighbors (six first-tier neighbors and six second-tier neighbors). A cell dies, is born, or stays alive or dead depending on the number of its neighbors that are alive. Click on an "initial pattern" button to choose any initial pattern. To view the process, click the various step buttons or the "propagate" button. The "size" buttons control the size of the grid. The "reset" button returns the cells to their original state at step 1. The "swap" checkbox makes the hexagon periodic.

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

Snapshot 1: the state from initial pattern 2 with the swap option selected
Snapshot 2: the state from initial pattern 2 with the swap option deselected
Snapshot 3: the state of a size 10 hexagon from initial pattern 2 with the swap option selected
The program is based on this Java applet: http://www.well.com/~dgb/hexlife.html.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.









 
RELATED RESOURCES
Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Powered by Wolfram Mathematica © 2014 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+