[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hex lattice2d
From: |
Barry McMullin |
Subject: |
Re: hex lattice2d |
Date: |
Tue, 22 Apr 1997 13:39:04 -0600 |
Ginger Booth writes:
> Did anyone ever do a 2d hex lattice implementation?
Hmmm ... it all depends, of course. But my tipsybugs
app is still in the archives at:
ftp://ftp.santafe.edu/pub/swarm/users-contrib/anarchy/tipsybugs-0.05.tar.gz
It doesn't quite have a hex "lattice" as such, but
rather a generic lattice that supports "coord" objects;
these coord objects have functionality for getting at
"neighboring" coord objects, where the "neighboring"
relationship can be flipped between von Neumann and
Moore on a square tiling, and FHP (effectively
hexagonal) on a triangular tiling.
Enjoy,
Barry.
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| Barry McMullin, ALife Group, | address@hidden |
| Santa Fe Institute, 1399 Hyde Park Road, | Voice: +1-505-984-8800 |
| Santa Fe, NM 87501, USA. | FAX: +1-505-982-0565 |
| http://www.eeng.dcu.ie/~mcmullin | |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
==================================
Swarm-Modelling is for discussion of Simulation and Modelling techniques
esp. using Swarm. For list administration needs (esp. [un]subscribing),
please send a message to <address@hidden> with "help" in the
body of the message.
==================================