IcoGrid-0.1.2: Library for generating grids of hexagons and pentagons mapped to a sphere.

The IcoGrid package

Defines functions for dealing with a type of hexagon grid wrapped around a sphere. The full grid is composed of 20 smaller trianglular grids of hexagons, that fit together as an icosahedron with pentagons at the corners. Each grid cell is assigned an integer value, and we can get a list of the neighbors of a particular cell. We can also ask for a vector in 3d space that is the center of a particular cell. This would be well suited for a game played on a spherical world or a planetary environment simulator.

Properties

Versions0.1, 0.1.2
Dependenciesarray, base (3.*), GlomeVec (≥0.1.2)
LicenseGPL
CopyrightCopyright 2009 Jim Snow
AuthorJim Snow
MaintainerJim Snow <jsnow@cs.pdx.edu>
Stabilityexperimental
Categorygraphics
Home pagehttp://www.haskell.org/haskellwiki/IcoGrid
Upload dateSat Jan 23 06:49:23 UTC 2010
Uploaded byJimSnow
Built onghc-6.12
Build failureghc-7.0 (log), ghc-7.4 (log)

Modules

Downloads