function hexToScreen(hexX, hexY) {
  var x = hexX * HEX_WIDTH - HEX_WIDTH / 4;
  x += hexY * HEX_WIDTH / 2;
  var y = hexY * HEX_HEIGHT * 0.75;
  return {x: x, y: y};
}
// Convert axial hex coordinates to screen XY coordinates.
Convert axial hex coordinates to screen XY coordinates.
Convert axial hex coordinates to screen XY coordinates .
function hexToScreen(hexX, hexY) {
  var x = hexX * HEX_WIDTH - HEX_WIDTH / 4;
  x += hexY * HEX_WIDTH / 2;
  var y = hexY * HEX_HEIGHT * 0.75;
  return {x: x, y: y};
}
function hexToScreen ( hexX , hexY ) { var x = hexX * HEX_WIDTH - HEX_WIDTH / 4 ; x += hexY * HEX_WIDTH / 2 ; var y = hexY * HEX_HEIGHT * 0.75 ; return { x : x , y : y } ; }
Convert axial hex coordinates to screen XY coordinates.
Convert axial hex coordinates to screen XY coordinates .