Light intensity steers molecular assemblies into 1D, 2D or 3D structures