Circle Packing in Enclosed Boundary - Unwanted Overlap

Here’s a slight adjustment to the above definition to inset the surface before remeshing which helps the circles move less during the optimization.
circpack_corner_offset.gh (17.7 KB)

Tagging also @assistant.petercoffi , as I think this is also relevant to the other discussion here Compact circle packing on complex surface - #5 by assistant.petercoffi