Skip to main content

Type Alias: SizeCellsOptions

SizeCellsOptions = BinnerOptions & object

Defined in: packages/sdvplot/src/shots/aggregate.ts:221

Options for sizeCells: the lattice (or its LeagueIndex), the rule, and which cells are drawn how large.

Type Declaration​

fill?​

readonly optional fill?: number

The largest drawn cell as a share of the lattice's full size, in (0, 1]. Default 0.88, so neighbours never touch even at the cap: a full-size hexagon or square shares its edges with the next one. 1 is the full cell.

minAttempts?​

readonly optional minAttempts?: number

Cells under this many attempts get size 0 (not drawn); they still count in binShots' cells and totals. Default 2: single attempts are not drawn (blazing-the-nets' 2021 Hexagon/index.js renderSize).

rule?​

readonly optional rule?: SizeRule

Default "sqrt-p95".