Science of cloth