Hexagonal grid debugger

from Red Blob Games
01 Dec 2018

x = {{mouseover.x}} y = {{mouseover.y}}
fractional hex = q:{{mouseoverFractionalHex.q.toFixed(3)}} r:{{mouseoverFractionalHex.r.toFixed(3)}} s:{{mouseoverFractionalHex.s.toFixed(3)}} ( x:{{mouseoverFractionalHex.q.toFixed(3)}} y:{{mouseoverFractionalHex.s.toFixed(3)}} z:{{mouseoverFractionalHex.r.toFixed(3)}} )
rounded hex = q:{{mouseoverHex.q}} r:{{mouseoverHex.r}} s:{{mouseoverHex.s}} ( x:{{mouseoverHex.q}} y:{{mouseoverHex.s}} z:{{mouseoverHex.r}} )

orientation =

Email me at , or tweet to @redblobgames, or post a public comment: