Skip to content

Function: checkPeriodic() ​

ts
function checkPeriodic(spec, samples?): PeriodicCheck;

Check a custom periodic tiling by sampling one lattice cell: every point should be covered by exactly one copy of one motif tile. Sampling can miss slivers narrower than the sample spacing (samples points per side, default 60).

Parameters ​

ParameterTypeDefault value
spec| PeriodicSpec | PeriodicDefinitionundefined
samplesnumber60

Returns ​

PeriodicCheck

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