Modeling of closed membrane shapes