Crate circle_packer

source ·
Expand description

A circle packing utility.


  • Sorts the radii for you for better results. This is sorted, so it isn’t stable (the order changes). The packing can change drastically depending on the relative size of the provided radii. Sorting the radii like this tends to produce a more efficient packing.