to achieve that end , the vlagh periodically enveloped itself in a woven cocoon in its dark nest in the center of the wasteland , and when it emerged from its cocoon , it was a creature of an entirely different aspect than it had been before .