An algorithm to extract looping GIFs from videos | Hacker News Reader