4D printing combines additive manufacturing with materials that change shape in response to stimuli. Thermal shape-memory PLA and light-responsive azobenzene polymers illustrate two distinct approaches to creating programmable structures and actuators.