Harvard scientists have developed a new approach to 3D and 4D printing that exploits the underlying physics of coiling instabilities, similar to the techniques used by abstract expressionist artist Jackson Pollock. The approach uses machine learning to decorate a cookie with chocolate syrup to demonstrate its viability. The patterns that form depend on the viscosity and speed of the fluid, and the approach could significantly speed up the printing process.