Skip to content

Type Alias: PerCell<T> ​

ts
type PerCell<T> = T | ((cell, state) => T);

A value, or a function giving it per cell.

Type Parameters ​

Type Parameter
T

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