Scientists have developed high-tech yarns that generate electricity when they are stretched or twisted. 'Twistron' yarns have many possible applications, such as harvesting energy from the motion of ocean waves or from temperature fluctuations.