Voronoï playground : interactive weighted Voronoï study III (Multiple sites)
This block experiments weighted Voronoï diagram (the 2D additive weighted power diagram variation) with many sites. This is a continuation of 2 and 1.
This is still a Work In Progress, as the code is not yet packaged/self-contained, and contains weird hacks. For a more up-to-date version of the code, please refer to the Weighted Voronoi Treemap in D3v4 block.
What are you seeing ?
- there is 4 sites (two blue and two green), with their corresponding influence areas (i.e. cells)
- if weights are big enough, circles around sites give a sense of the weight of each site
User interactions :
- you can change the weight of a group of sites with the corresponding slider
- you can drag and drop each site
Acknowledgments to :