Skip to content

Type Alias: ContentCells ​

ts
type ContentCells = "all" | "whole" | ((cell) => boolean);

Which cells may hold content:

  • "all": every cell.
  • "whole": only cells shown in full (not cut by the region outline; see Cell.boundary).
  • a function: your own test.

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