Animates time around a central point
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
utils
.gitignore
README.md
giftwist.go

README.md

Gif Twist

Animate a series of images around a central point.

Explination

Each output frame that Gif Twist creates is a combination of all input frames offset by time.

Warnings

This project was just an experiment and acts as a working example of the technique. It is not performant because it uses masking to merge each image slice into the out rather then iterating over the output pixels and simply selecting its value from one of the source images.

Usage (from a video source)

Install go-lang, avconv & gifsicle.

avconv -i time.mp4 -r 1.5 -an -y 'inputs/%04d.png'
go run giftwist.go
gifsicle --delay=4 --optimize --loop out/*.gif > ../out.gif

Credit

I saw this technique manually generated in this reddit post by Spiritgreen.