A Voronoi diagram and a signed distance field in log₂(n) passes — more total work than the CPU algorithm, and faster anyway.
6 tasks
This page is an interactive exercise — the editor, the GPU runner and your saved progress need JavaScript. The text above is the full brief.