LinuxConsulting

- Nicu Pavel personal page

PaNiC Random Rant (or how we used to call it: .plan)


HTML5 Hex Grid with mouse mapping


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:

3 Comments:

At June 14, 2011 at 9:21 AM , Blogger Curufea said...

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.

 
At May 10, 2012 at 2:07 PM , Blogger Steve said...

What mods need doing to get a Octagonal grid (points of a compass) please?

 
At May 10, 2012 at 2:07 PM , Blogger Steve said...

V-Nice :o)

Is it difficult to change to an octagonal grid? The math is doing my head in ....

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home