Skip to content

Interface: DelaunaySpec ​

Properties ​

relax? ​

ts
optional relax?: number;

Rounds of Lloyd relaxation on the corners; more rounds give more even triangles. Defaults to 2.


seed? ​

ts
optional seed?: number;

Seed for the deterministic random generator. Defaults to 1.


size ​

ts
size: number;

Typical spacing of the triangle corners.


type ​

ts
type: "delaunay";

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