Skip to content

Function: useTileLayout() ​

ts
function useTileLayout(options): ComputedRef<Layout>;

A layout from options (a ref, a getter or a plain object), worked out again only when they change by value.

Parameters ​

ParameterType
optionsMaybeRefOrGetter<LayoutOptions>

Returns ​

ComputedRef<Layout>

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