If you’ve ever seen natural pearls, you know their beauty. The tale of how pearls are formed is common lore. A tiny irritant—say, a grain of sand—intrudes into the shell of a mollusk and begins to damage the delicate tissues inside. To protect itself, the animal secretes layer after layer of luminous nacre to coat…