I guess it was inspired by an exhibition I went to at the Baltic in Gateshead, called Bill Murray: A Story of Distance, Size and Sincerity by Brian Griffiths. It's as cool as it sounds.
Anyway, the code is on my Github if you want to compile and play with it. You'll need the GifAnimation library and an internet connection, since it uses the Giphy API.
P.S. I didn't screw up and leave my API key in the code, it's a public beta key.