Draw an animated schematic diagram and save it as a gif.