ENH: working animation of cubes

This enhancement adds a wrapper for animating an iterator of cubes.
This is an experimental feature as the API is likely prone to change.