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

[ graphics, library ] [ Propose Tags ]

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.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.2
Dependencies array, base (>=3 && <4), GlomeVec (>=0.1.2) [details]
License LicenseRef-GPL
Copyright Copyright 2009 Jim Snow
Author Jim Snow
Maintainer Jim Snow <jsnow@cs.pdx.edu>
Category graphics
Home page http://www.haskell.org/haskellwiki/IcoGrid
Uploaded by JimSnow at 2010-01-23T06:49:23Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2195 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for IcoGrid-0.1.2

[back to package description]
This is a library for dealing with grids of hexagons and pentagons, wrapped around a sphere.

Send questions to Jim Snow (jsnow@cs.pdx.edu).

I will try to get some sensible documention up on the haskell wiki:
http://www.haskell.org/haskellwiki/IcoGrid

To generate the haddock documentation, run "runhaskell ./Setup.haskell configure; runhaskell ./Setup.hs haddock".