Finding all regions defined by a set of pseudorandom circles. Here, 8 input circles gave 37 output regions.
Python using pyclipper for 2d predicates & matplotlib for display. The (probably inefficient and maybe wrong) algorithm for ensuring all regions are found by me using trial and error.
pssst don't tell anyone but the circles are actually just 360-gons.