The transition from structures to textures in magnetorheological fluids