Method of patterning fabrics