paths = () => {
const particles = Array.from({length: n}, () => [Math.random() * width, Math.random() * height])
const delaunay = d3.Delaunay.from(particles)
const voronoi = delaunay.voronoi([2, 2, width - 2, height - 2])
return {particles: particles, diagram: voronoi.render(), bounds: voronoi.renderBounds(), points: delaunay.renderPoints()}
}