Graphene shapes from quantum elasticity