Hexagonal Maze Generator
Honeycomb cells with six-direction adjacency. Adjacent hexes share exactly one wall; the solution follows those shared boundaries.
Inside this maze
Difficulty labels are approximate. Seeds use Mulberry32 (not cryptographic). Generation time is measured on this device. The domain name is not the topic of the site.
Axial coordinates
Each cell is (q, r) with implied cube coordinate s = −q − r. Neighbors: (1,0), (1,−1), (0,−1), (−1,0), (−1,1), (0,1). For radius R, include cells with max(|q|, |r|, |q+r|) ≤ R. N = 1 + 3R(R+1). Radius 2 → 19 cells. Radius 4 → 61 cells. Radius 10 → 331 cells.
Pointy-top geometry
x = a√3 (q + r/2), y = a·3/2·r. Vertices sit 60° apart to match that orientation. Supported radius 2–30, with the 10,000-cell cap.
Entrances
Opposite boundary cells, random distinct boundary cells, or custom boundary cells. The start and goal must be distinct valid cells.