PaNiC Random Rant (or how we used to call it: .plan)
HTML5 Hex Grid with mouse mapping
by Nicu Pavel on
03 May 2010
A simple hex grid map with mouse mapping just to explore what HTML5 canvas can do (and it looks to me a lot like Cairo). Maybe someone will start a panzer general clone reusing the code from lgeneral ?
http://www.linuxconsulting.ro/code-repository/repository/html5-hexgrid/hexgrid.html
Or a better example(looks like no one started a panzer general clone so I did):
Open Panzer
Labels: programming
3 Comments:
Subscribe to Post Comments [Atom]
Nice - and as it's one of the first hits to come up on my very rudimentary search for something exactly like this - great stuff! I was hoping for a starting point for creating a semi-random hex map generator.
What mods need doing to get a Octagonal grid (points of a compass) please?
V-Nice :o)
Is it difficult to change to an octagonal grid? The math is doing my head in ....