Series of visual experiments exploring Voronoi diagrams using JavaScript
- Ornaments in a Box series by Mario Klingemann
- d3-delaunay for fast, robust Voronoi diagram generation.
- p5.js for canvas drawing and miscellaneous helper functions (like
lerp
andmap
). - Webpack for modern JS (ES6) syntax, code modularization, bundling, and serving locally.
- dat.GUI for a parametric UI
Key | Action |
---|---|
r |
Reset sketch |
i |
Invert colors |
p |
Toggle visibility of points |
b |
Toggle blur effect |
- Run
npm install
- Run
npm run serve