Physics-Based Shape Morphing And Packing For Layout Design