Field Notes
    Preparing search index...

    Function footprintFromSize

    • The cell footprint an element of size occupies on a square grid: each axis rounds to the NEAREST whole cell (a 1.25-cell token is one cell wide), never below one. Without a usable grid size the footprint is a single cell.

      Parameters

      • size: { h: number; w: number }
      • gridSize: number

      Returns Footprint