Generating patterns on clothing for seamless design