Skip to content

Interface: HexagonalSpec ​

Properties ​

orientation? ​

ts
optional orientation?: "flat" | "pointy";

"pointy" puts a corner at the top; "flat" puts an edge at the top. Defaults to "pointy".


size ​

ts
size: number;

Circumradius: center-to-corner distance.


type ​

ts
type: "hexagonal";

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).