I have been following this thread with quite some interest, because, while it kept growing, I was working on the finishing touches of a Lua library which, among other things, enables users to do exactly what has been requested here:
GIF – See it in action
I would like to invite you to have a closer look over in this thread.