Skip to content

Interface: PeriodicSpec ​

A custom repeating tiling: the motif's polygons are copied to every point i·a + j·b. Coordinates are in region units. Nothing checks that the copies fit together; use checkPeriodic while designing one. Polygons may be non-convex but must be simple.

Properties ​

a ​

ts
a: Vec;

b ​

ts
b: Vec;

motif ​

ts
motif: object[];

Tiles of one lattice cell. protoTile defaults to the tile's position in this list.

polygon ​

ts
polygon: Polygon;

protoTile? ​

ts
optional protoTile?: number;

type ​

ts
type: "periodic";

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