Researchers at the University of Texas and Hanyang University in South Korea have developed a yarn that generates electricity when twisted or stretched, potentially paving the way for smart clothing that powers itself without the need for batteries.