Skip to content

Function: isohedralPrototile() ​

ts
function isohedralPrototile(spec): Polygon;

The prototile outline (in Tactile's coordinates) for a spec. Without an explicit amount, the "wave" curves start at 0.15 and are lowered until the outline doesn't cross itself (a few types with short edges or sharp corners need less).

Parameters ​

ParameterType
specOmit<IsohedralSpec, "type" | "size">

Returns ​

Polygon

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