Skip to content

Function: resolveFills() ​

ts
function resolveFills(layout, fill): string[];

Fill color per cell (by cell.index): a color, a palette (neighboring cells get different entries), or a function.

Parameters ​

ParameterType
layoutLayout
fillFillSource

Returns ​

string[]

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