# 01: Voronoi Insertion Cell and Vertex Disks

This interactive animation illustrates the equivalence between intersecting a marked Voronoi cell and lying inside the union of its vertex disks:

- **Left panel (*Insertion cell of moving site*)**: Shows the Voronoi diagram of $S$, the marked cell $V(s, S)$, and the live Voronoi cell $V(p(t), S)$ of the moving site $p(t)$ bouncing like a billiard ball inside the bounding square.
- **Right panel (*Vertex disks & moving site location*)**: Shows the disks centered at the vertices of $V(s, S)$ (passing through $s$), their red union boundary, and the current position of $p(t)$.

Whenever $V(p(t), S)$ intersects $V(s, S)$ (equivalently, when $p(t)$ lies inside the union of the vertex disks), the marked cell is highlighted with a red boundary and light red fill on both panels. Whenever $p(t)$ is inside $V(s, S)$, the moving site turns into a red square on both panels.

## Viewing and Controls

Open [`index.html`](index.html) in any modern browser.

- **Playback**: Play/Pause (`Space`), `New random path` (`R`), speed slider (`0.2x`–`3.0x`), or click/drag directly on either diagram to place the site.
- **Layer checkboxes**: Toggle `Vertex disks`, `Union boundary`, `Highlight overlap`, and `Union boundary on left`.
