I was developing a project that needed the weighted voronoi in 3d when I got tired of finding problems with degenerated cases, so I decided to implement it in 2d assuming that it would be easier to ...