Implemetation of the alghoritm described here , with some additions.
Try resizing the window width in order to see the balloons rearranging themself to fill the available space.
Real application: otto.to.it