Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't like the way he does coordinates for triangles and hexagons, having hexes with the same y-coordinate slope up to the right. I prefer having hexes with the same y-coordinate stay as close to horizontal as possible, meaning that even hexes will be shifted up or down by half a hex compared to odd hexes.

I found that keeping the hex coordinates as close as possible to the square coordinates that your GUI library uses makes things easier.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: