Click to add · click near or drag a site to move · double-click to remove · drop JSON or point lists to open
URL API
All coordinates use the normalized range 0–1, so the same URL renders consistently at any canvas size.
| Property | Value | Description |
|---|---|---|
points | x,y;x,y;… | Exact site coordinates. Supply between 2 and 250 points. |
count | 2–250 | Number of random sites when points is omitted. Default: 42. |
seed | integer | Makes a random count reproducible. |
delaunay | true, 1, yes, or on | Shows Delaunay edges. |
For example:
/app/?points=0.15,0.2;0.8,0.25;0.5,0.85&delaunay=true
Or create a reproducible random diagram:
Copied JSON
Copy JSON writes a versioned object to the clipboard containing normalized sites, normalized Voronoi edges, the currently visible Delaunay edges, and the canvas bounds used for the render.
Open files
Use Open, or drag a file onto the diagram, to load previously copied diagram JSON or a plain-text point list. Point lists use one whitespace- or comma-separated x y pair per line, like the repository’s testdata_issue*.txt files. Coordinates outside the normalized range are scaled to fit while preserving their aspect ratio.