Skip to content

Interface: FitOptions ​

Properties ​

cells? ​

ts
optional cells?: ContentCells;

Which cells count: "all" (default), "whole" (not cut by the region outline) or a test.


mode? ​

ts
optional mode?: "atLeast" | "nearest";

"atLeast" (default): the largest tiles that still give at least count cells, so every item has a tile. "nearest": whichever tile size gets closest to count.

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