# Building a hex grid around a point (circular hex grid)

**URL:** https://forum.kirupa.com/t/building-a-hex-grid-around-a-point-circular-hex-grid/321030
**Category:** programming
**Created:** [April 8, 2011, 7:36am UTC](https://forum.kirupa.com/t/building-a-hex-grid-around-a-point-circular-hex-grid/321030 "2011-04-08T07:36:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zhet](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zhet/32/3307_2.png) [@Zhet](https://forum.kirupa.com/u/Zhet)
#### Post date: [April 8, 2011, 7:36am UTC](https://forum.kirupa.com/t/building-a-hex-grid-around-a-point-circular-hex-grid/321030/1 "2011-04-08T07:36:20Z")

</div>

Hello everyone! 🙂

I’ve been wondering if anyone can point out a way to make a circular hex grid.

The idea is simple: I need to call a method of every tile in a radius around some certain tile.

Basically I need to calculate their X and Y position around that tile.  
One more problem - the values of X and Y will be different depending if the tiles Y is even or odd.

A pdf image with the grid attached.
