Skip to content

Function: hatSupertile() ​

ts
function hatSupertile(level, chain?): object;

The H metatile at level (0 = the initial four-hat H), and the transform from its coordinates to those of the level-0 H it contains. Each level's H contains the previous level's H as its first child, so anchoring on the level-0 H makes every level an extension of the one before.

Parameters ​

ParameterTypeDefault value
levelnumberundefined
chainnumber | readonly number[]ANCHOR_CHAIN

Returns ​

object

H ​

ts
H: MetaTile;

toAnchor ​

ts
toAnchor: Affine;

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