Geometry-based design and control for deformable object