HEXACA

HEXACA is an interactive piece of webart which allows viewers to explore the beautiful patterns and textures generated by 2-state cellular automatons on a hexagonal lattice.

The ruleset for each automaton deterministically encodes how it will evolve and grow.

Each ruleset simply designates a new state for every configuration of a cell and its 6 neighbors.

There are 27 such configurations, and consequentially 2128, or

340,282,366,920,938,463,463,374,607,431,768,211,456

possible rulesets, each with unique behaviors and qualities.

CONTROLS

Left-click: to generate a new random ruleset

Right-click: to reset the lattice configuration

Rulesets are encoded in the URL for easy sharing

View the code