Text this: Bioinspired 3D structures with programmable morphologies and motions