4 ms·
This reminds me of some wonderful 90s web games. Before XHR, an early web game built for Disney used a .gif as a one-way websocket to stream data into the webpa
by eerikkivistik 5y ago
This reminds me of some wonderful 90s web games. Before XHR, an early web game built for Disney used a .gif as a one-way websocket to stream data into the webpage. This is due to the fact, that a .gif animation can be as long as you want and a server can generate an infinite animation, where some frames have content that you want to push and others are empty frames. Or in other words, they were using primitive video streaming to encode relevant information within the frames.
- therein 5y agoSomething similar with APNG: https://www.da.vidbuchanan.co.uk/adamation/image.png https://www.da.vidbuchanan.co.uk/adamation/image.png
- Dylan16807 5y agoThat's demonstrating both server delays and a hacky way of updating a normal png. No apng there.
- dhms 5y agoInteresting, that reminds me of what somebody did to display an always up-to-date clock [1]. [1] https://news.ycombinator.com/item?id=14996715 https://news.ycombinator.com/item?id=14996715