Circle packing based on image sampling

Hi all, love what's going on in this video with image based circle packing:

https://www.youtube.com/watch?v=SSWudanJc7c

Does anybody have a clue on how it's done or where to find the definition?

Best, Easymatic