Geometry and computational design of equilibrium structures