Shape-shifting particles let scientists control how fluids flow