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
| Versions | 0.1, 0.1.2 |
|---|---|
| Dependencies | array, base (3.*), GlomeVec (≥0.1.2) |
| License | GPL |
| Copyright | Copyright 2009 Jim Snow |
| Author | Jim Snow |
| Maintainer | Jim Snow <jsnow@cs.pdx.edu> |
| Stability | experimental |
| Category | graphics |
| Home page | http://www.haskell.org/haskellwiki/IcoGrid |
| Upload date | Sat Jan 23 06:49:23 UTC 2010 |
| Uploaded by | JimSnow |
| Built on | ghc-6.12 |
| Build failure | ghc-7.0 (log), ghc-7.4 (log) |
Modules
- Data
Downloads
- IcoGrid-0.1.2.tar.gz (Cabal source package)
- package description (included in the package)