Skip to content

Interface: RawTile ​

A tile as produced by a generator, before gap/clipping is applied.

Properties ​

id ​

ts
id: string;

Stable identifier, unique within one generated layout.


polygon ​

ts
polygon: Polygon;

protoTile ​

ts
protoTile: number;

Index of the prototile this tile is a copy of (e.g. herringbone: 0 = horizontal, 1 = vertical).

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