Skip to content

Interface: FlowSpec ​

Andamento: tesserae laid in rows (courses) that follow guide curves, circle center points or run along the region's outline, the way mosaicists lay them.

Properties ​

centers? ​

ts
optional centers?: Vec[];

Points for rows to circle, in layout units: a round tessera, ringed by row after row.


followEdges? ​

ts
optional followEdges?: boolean;

Rows also run along the region's outline (and round its holes), as in opus vermiculatum. Defaults to true when there are no guides or centers.


guides? ​

ts
optional guides?: object[];

Curves for rows to follow, in layout units: a row runs along each, and further rows parallel to it on both sides. Open polylines, or closed loops.

closed? ​

ts
optional closed?: boolean;

points ​

ts
points: Vec[];

jitter? ​

ts
optional jitter?: number;

How much tessera lengths vary, 0 (all alike) to 0.9. Defaults to 0.3.


length? ​

ts
optional length?: number;

Tessera length along its row, as a multiple of size. Defaults to 1.3.


seed? ​

ts
optional seed?: number;

Seed for the deterministic random generator. Defaults to 1.


size ​

ts
size: number;

Row height: the width of each tessera across its row.


type ​

ts
type: "flow";

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