Voronoi Diagram with Force Directed Nodes and Delaunay Links
Created by Christopher Manning
Summary
Nodes are linked to nodes in neighboring cells. The cell's color is a function of its area.
The white lines are the Delaunay triangulation and the purple cells are the Voronoi diagram.
Controls
- Drag the cells to interact with the diagram.
- Use the mousewheel to add/remove nodes.
- Hold shift while using the mousewheel to change the initialization spiral
- Press the letter s to toggle the simulation
References
Run this gist at bl.ocks.org