Skip to content

Function: cellShape() ​

ts
function cellShape(cell): CellShape;

The shape to draw for a cell: the whole tile for a cell an edges: "window" layout cuts (cell.tile), otherwise the cell's own polygon and holes. Renderers round, bevel and place content in this, then hide what lies outside layout.view (see visibleShapes).

Parameters ​

ParameterType
cellCell

Returns ​

CellShape

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