
A simple algorithmic idea that can produce interesting organic looking patterns. Essentially a circle packing strategy with the added twist that the circles are connected in a tree/graph like structure. 🌳🦠

Shape packing is a popular type of sketch in gen-art, but is often trickier than it might seem when you try to pack anything more complicated than a simple circle. In this post we'll have a look what goes into collision detection as well as a strategy to pack any arbitrary shape in 2D.