IcoGrid: Library for generating grids of hexagons and pentagons mapped to a sphere.
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]
Downloads
- IcoGrid-0.1.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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 | 2253 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] |