MATLAB: Unequal circles in a rectangle partition into k equal layers

circle packingunequal circles in equal layers of a rectangle

How can I create circles of different sizes in a rectangle divided into k equal layers. The circles in the first layer are equal and smaller. The circles in the second layers are also equal but bigger than the first layer. This continues in that order. The common radius difference between the two adjacent layer circles is fix
Thank you

Best Answer

See previous discussions of circle packing: Click here