All examples By author By category About

zhangzihaoDT

d3-path for Distance-limited Voronoi cell - d3v4

This block is a continuation on my reflexions on Distance-Limited Vornoi Interaction (see 4, 3, 2, and 1).

This block experiments how to compute the path of a distance limited vironoï cell, which is the intersection area of a d3 Voronoï cell and a circle.

Compared to the previous block, the algorithm uses a d3-path context and its canvas-like directives (instead of producing a svg-compatible string).

Acknowledgments to:

forked from Kcnarf's block: d3-path for Distance-limited Voronoi cell - d3v4