This code demonstrates practical use of JavaScript Service Workers to cache image files and generate a GIF
Caching images locally with a Service Worker enables higher framerate image animations than is possible with default browser behavior
Images are fetched from mountain webcams every minute and aged out after a day
Keypoints shows result of blob detection on diff of adjacent images - accomplished on backend using OpenCV
Online at animate.af7ti.com