# A better Hexagony template [tag:code-golf] [tag:ascii-art] [tag:hexagonal-grid]

We once [made a Hexagony template without actually knowing it](https://codegolf.stackexchange.com/q/104604/78410). But after a bit of experience with Hexagony, it becomes apparent that it is not enough; sometimes the source code is too short for the given hexagon, and you get totally unexpected results.

So I came up with an idea: a template that gives a hint when the code is too short.

For the background: [Hexagony](https://github.com/m-ender/hexagony) detects the smallest hexagonal grid that fits the source code, and then fills each spot in the grid with each char in row-by-row fashion. E.g. the code

```
abcdefg@
```

contains 8 characters, and the smallest grid that can fit this is of size 3 (size 2 grid has only 7 spots)

```
  . . .
 . . . .
. . . . .
 . . . .
  . . .
```

so the code above is laid out like this:

```
  a b c
 d e f g
@ . . . .
 . . . .
  . . .
```

Now, to ensure that the code being written is actually laid out on the hexagon of size 3, the programmer has to make sure that the code has at least 8 characters; in other words, at least one of the spots marked `*` must be occupied by a command:

```
  . . .
 . . . .
* * * * *
 * * * *
  * * *
```

Math note: the number of spots in the hexagonal grid of size `n` is \$a(n)=3n(n-1)+1\$ ([A003215](https://oeis.org/A003215)). For convenience, define \$a(0)=0\$ (for zero-sized grid).

## Task

Given a positive integer `n`, draw a hexagonal grid like the one above so that

* the first \$a(n-1)\$ spots are drawn with one kind of marker (e.g. `.`) and
* the rest are drawn with another (e.g. `*`).

For output format:

* You can choose the two markers, but the two must be distinct and not a whitespace character.
* Extra leading and trailing whitespaces, and whitespaces at the end of each line are allowed, as long as it doesn't break the hexagonal layout.
* Outputting as a list of strings is OK.

Standard [tag:code-golf] rules apply. Shortest code in bytes wins.

## Test cases

```
n=1
*

n=2
 . *
* * *
 * *

n=3
  . . .
 . . . .
* * * * *
 * * * *
  * * *

n=4
   . . . .
  . . . . .
 . . . . . .
. . . . * * *
 * * * * * *
  * * * * *
   * * * *

n=5
    . . . . .
   . . . . . .
  . . . . . . .
 . . . . . . . .
. . . . . . . . .
 . . * * * * * *
  * * * * * * *
   * * * * * *
    * * * * *
```