Using a new technique known as 4D printing,

Using a new technique known as 4D printing, researchers can print out dynamic 3D structures capable of changing their shapes over time.
http://www.livescience.com/49185-4d-printing-shape-shifting-structures.html