Skip to content
Loading Wasm…

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 01, so the same URL renders consistently at any canvas size.

PropertyValueDescription
pointsx,y;x,y;…Exact site coordinates. Supply between 2 and 250 points.
count2250Number of random sites when points is omitted. Default: 42.
seedintegerMakes a random count reproducible.
delaunaytrue, 1, yes, or onShows 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:

/app/?count=24&seed=1234

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.