Skip to content

Function: shapeArea() ​

ts
function shapeArea(s): number;

Area of a shape (outline minus holes).

Parameters ​

ParameterType
sShape

Returns ​

number

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