This simulation generates a
Voronoi Diagram in real-time. It is powered by a custom WebGL Fragment Shader running on your GPU. The distance \(d\) from a given pixel \((x,y)\) to a point \((p_x, p_y)\) is defined by the metric:
- Euclidean (Standard): \(d = \sqrt{(x - p_x)^2 + (y - p_y)^2}\)
- Manhattan (Taxicab): \(d = |x - p_x| + |y - p_y|\)
- Chebyshev: \(d = \max(|x - p_x|, |y - p_y|)\)
- Developer Mode: Using weighted "Capital" nodes alters this to an Apollonius Graph, warping the boundaries based on gravitational pull \((d / weight)\).