block by Kcnarf 7d7f60ef86a77851c38c51904f4c8d39

Voronoï playground: Voronoï transitioning thanks to weighted Voronoï

Full Screen

This block experiments a new way to transition from one Voronoï tesselation to another.

Usually, this is achieved by smoothly changing the locations of sites from their original locations to their final locations, while recomputing the Voronoï tessellation during displacements. Here, I use weighted Voronoï diagram (the 2D additive weighted power diagram variation) to do the job. It gives a totally new feeling: the final tesselation seems to emerge from the initial one. The cherry on the cake, this technic allows to transition between tessellations of a distinct number of sites!

This block is a continuation of the experimentations 3, 2 and 1. It uses the d3-weighted-voronoi plugin.

User interactions :

Acknowledgments to :

index.html

ConvexHull.js

PowerDiagram.js

d3-polygon-clip.js