Use GIMP (Graphics Image Manipulation Program) with the GAP (GIMP Animation Package) to map images to a cube, then create multiple layers, apply rotation, and turn the whole thing into an animated GIF.
GIMP (GNU Image Manipulation Program) is a raster graphics editor used for image retouching and editing, free-form drawing, resizing, cropping, photo-montages, converting between different image formats, and more specialized tasks. Popular for photo efects and animation.
GIMP Animation Package (GAP) A GIMP plug-in for creating animations. GAP can save animations in several formats including GIF and AVI. The animation function relies on GIMP's layering and image file name numbering capability. Animations are created either by placing each frame on its own layer (in other words, treating each layer as an animation cel), or by manipulating each numbered file as if it were a frame in the video: moving, rotating, flipping, changing colors, applying filters, etc. to the layers by taking advantage of interpolation within function calls(plug-in usage), within a specified frame range. The resulting project can be saved as an animated GIF or encoded video file. GAP also provides programmed layer transitions, frame rate change, and move paths, allowing the creation of sophisticated animations. *Wikipedia: http://en.wikipedia.org/wiki/GIMP