Function: generateMondrian()
ts
function generateMondrian(spec, ctx): RawTile[];Random recursive guillotine partition of the region's bounding box. Rotation and origin are ignored: Mondrian layouts are always axis-aligned to the region.
Parameters
| Parameter | Type |
|---|---|
spec | MondrianSpec |
ctx | GenerateContext |
Returns
RawTile[]