Source code for html-animation.alanwsmith.com
Source image for the frames is from:
https://commons.wikimedia.org/wiki/File:Muybridge_race_horse_gallop.jpg
which is from photos taken by Eadweard Muybridge (who died in 1904 which puts the images in the public domain)