CPSC 203, 2026 W1
October 20, 2026
Given a (finite) set of “centres” \(c_{1}, c_{2}, \ldots, c_{k}\), a Voronoi region, \(R_{j}\) consists of the set of points nearer to centre \(c_{j}\), than to any other centre.
Together, the \(R_{j}\) regions compose the Voronoi diagram of a plane.





Un dimanche après-midi à l’Île de la Grande Jatte
Ferris Bueller’s Day Off: A Visit to the Art Institute of Chicago



What data structures do we need?
How will the data flow through our algorithm?

Open today’s activity. We’ll start with the loop-only version of the algorithm.
voronoi_loop_nb.py.Let \(c\) be number of centers
Let \(n\) be the size of the image
(\(n =\) width \(\times\) height).
How much work is done?
