Ikat patterns are dyed into the threads before the cloth is woven
For ikat, sections of yarn are tightly wrapped so dye cannot reach them. The threads are dyed first and then placed on the loom, where their colored sections line up to form a pattern with softly blurred edges.
The picture starts before the cloth exists. The threads already know where they are going.
Source · The Metropolitan Museum of Art ↗