Interface: MondrianSpec
Properties
maxSize
ts
maxSize: number;Cells larger than this along either side are always split further (when possible).
minSize
ts
minSize: number;No side is cut shorter than this.
seed?
ts
optional seed?: number;Seed for the deterministic random generator. Defaults to 1.
snap?
ts
optional snap?: number;Snap split positions to multiples of this value (relative to each cell).
splitChance?
ts
optional splitChance?: number;Chance (0–1) of splitting a cell that already fits within maxSize. Defaults to 0.4.
type
ts
type: "mondrian";