Voronoi Conquest

Strategic Loci & Voronoi Game

P1 (Red)

0.0%
Territory Control
Red Player's Turn
Thinking...
Round 0 / 10

P2 (Blue)

0.0%
Territory Control

How to Play

  • Players take turns placing bases (dots) on the map.
  • Territory is divided using Euclidean distance.
  • Hover your mouse to preview your move's mathematical impact!
  • Capture the most territory to win!
Teacher's Note: Rendering Mathematics
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}\)