agghex.pl

agghex.pl is a perl program that will generate postscript files of hexagonal grids.

agghex.pl creates these grids based on the level aggregate method described in "The Development of N-Dimensional GBT Software" by Laurie Gibson and Sandra Fitzgerald (COSMIC program #GSC-12835, 1980).

The main option given to agghex.pl is the number of levels for which you want a grid generated for. For instance, here are grids for level 0, level 1, level 2, 3, 4, etc.

Other options include scaling the width and height of the resulting postscript image, and an option for making sure that everything fits on one (letter sized) page.


Here is a page describing the algorithms I created to draw these grids.

You can get the perl source (zipped) or (gzipped).


Back to Programs
Back to Dan Pape's Homepage