Skip to content

Function: generatePeriodic() ​

ts
function generatePeriodic(def, ctx): RawTile[];

Enumerate every lattice copy of the motif that can touch ctx.region.

Parameters ​

ParameterType
defPeriodicDefinition
ctxGenerateContext

Returns ​

RawTile[]

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