Elastic membranes spanning deformable curves