This is part of gleap.org, Sam Pottinger's professional homepage. Return to main site.

Hexagonal Population Game of Life

Whoops! It looks like your browser doesn't support canvas.

What is This?

While typically Conway's Game of Life focuses on a square-based "game board" environment, This project explores how the classic simulation's same rules and behaviors could adapt to a hexagonal grid with cells which, unlike the typical implementation, are not just dead or alive but can have granular health, acting like populations that grow and shrink.

Rules

Each cell takes on a "population value" from 0 to 1 and, at each simulation step / generation, the population values surrounding a cell are summed. This "surrounding population value" is then evaluated against these rules:

Visual Representation

A population value of 0 gives a cell a white fill color (for empty). Cells with population values from 0.1 to 0.9 are grey and grow darker as their values get larger. A population value of 1 (full capacity) receives a black fill.

Source / More Info

See https://github.com/Samnsparky/HexGranularLife.

(c) 2013 Sam Pottinger.
Released under the GNU GPL v3 license.
Done for CU Boulder CSCI 4900.
Software Engineering, Emergence, and Complex Adaptive Sys.
Produced under the guidance of Professor Ken Anderson.
This presentation uses Bootstrap and jQuery.