Skip to content

Function: tileSpans() ​

ts
function tileSpans(weights): number[];

The tiles each item spans: its weight, rounded, and at least 1.

Parameters ​

ParameterType
weightsreadonly number[]

Returns ​

number[]

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