This is simple tool to create scanimations as the ones seen in:
as input, you provide a list of images that are the animation frames. as output you get grid.png (the grid for this animation) and output.png (the strange looking image with the data for the animation)
you can try it like this:
$ hg clone https://email@example.com/lucio.torre/scanimation/ $ cd scanimation/ $ python scanimation.py star1.png star2.png star3.png star4.png star5.png star6.png
then you can import output.png and grid.png in your favorite image/vector manipulation program, and by moving grid.png you can see the animation.