Materials capable of performing complex functions in response to changes in the environment could form the basis for exciting new technologies. Think of a capsule implanted in your body that ...