Volume 9, Issue 3
Tricks of the Trade
In and Out
Download This Issue
Staff and Contributors
Polyominoes and Related Families
Polyhexes are figures built from congruent unit-length hexagons. We represent a hexagon forming a polyhex simply by a pair corresponding to the complex coordinates of its left-bottom corner . For this reason, all the corresponding functions turn out to be straightforward adaptations of their polyiamond counterparts.
The neighbors of a hexagon are , , , , , and . Thus, we can simulate a hexagonal cellular space by a rectangular cellular space in which the neighbors are these nonadjacent ones. The following function generates all polyhexes of a given order.
About Mathematica | Download Mathematica Player
© Wolfram Media, Inc. All rights reserved.