Click image to view large photo
First, make a warp to weave on a loom (the warp is the set of threads strung on the loom and held in tension). The picture shows cotton yarn wound between two bamboo poles. Then tie bunches of threads together tightly with cord to make a pattern or a motif. Take the threads off the poles, keeping them together and organized.
Dye the threads in your favorite dye, either natural like indigo or synthetic like fibre-reactive. Let the threads dry. String them on your loom or two poles again, keeping them organized the way they were before dyeing. Undo the ties and weave the cloth.