7 ms·
http push, baby! alternatively, trust the client timer, ship a full 86400 frame gif, and figure out a start-frame hack.
by bingaling 4y ago
http push, baby!
alternatively, trust the client timer, ship a full 86400 frame gif, and figure out a start-frame hack.
- bmacho 4y agoor just use javascript Date() object, and display it as text
- wongarsu 4y agoOr just generate 86400 gifs, each 86400 frames long, and have the server deliver the correct one depending on the current time. But that wouldn't be nearly as cool as generating and delivering the gif in real time.
- drewzero1 4y agoThis is kind of what I was expecting. I tried saving the gif to see what happened, and it's empty! It's a pretty neat trick!