In Photoshop, I generate clouds inside a smart object, stretch and shrink it, adjust the levels, reduce the colors, then apply a gradient map. Oh and I cross-fade the edges to make it loop seamlessly.