Constraint-based synthesis of shape-morphing compliant structures in virtual reality