Skip to content

Function: useTileLayout() ​

ts
function useTileLayout(options): Layout;

Compute a layout, recomputing only when the (serializable) options change. Inline object literals are fine: options are compared by value.

Parameters ​

ParameterType
optionsLayoutOptions

Returns ​

Layout

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