Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.19 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.19 KB

Series of visual experiments exploring Voronoi diagrams using JavaScript

Inspiration

Packages used

  • d3-delaunay for fast, robust Voronoi diagram generation.
  • p5.js for canvas drawing and miscellaneous helper functions (like lerp and map).
  • Webpack for modern JS (ES6) syntax, code modularization, bundling, and serving locally.
  • dat.GUI for a parametric UI

Key commands

Key Action
r Reset sketch
i Invert colors
p Toggle visibility of points
b Toggle blur effect

Install notes

  1. Run npm install
  2. Run npm run serve

Screenshots

Basic Voronoi

Rings

Rings in motion

Orbits

Playground

Reducing radii

Phyllotaxis