The purpose of those older camoflages was called dazzle paint, and the purpose of them was that back when submarines fired torpedoes solely on the the visuals through a periscope, the intent was to confuse the shooter enough so that he didn't get an accurate shot. Of course, it was experimental at the time, so no one could be certain what worked, and to what degree.