Convert to Angular. Original code by https://github.com/zetter/voronoi-maps