DEV Community

Discussion on: Animations without JS...or CSS...or IMAGES??!? 😲 Pure HTML animation!

Collapse
 
bezpowell profile image
BezPowell

This is an extremely creative use of html. I also like that you managed to come up with such an inefficient way of playing video - with all the talk on making video codecs perform better, with smaller bandwidth, surely there must also be a prize for the opposite?

Thank you for blowing my mind!

Collapse
 
grahamthedev profile image
GrahamTheDev

Haha, with gzipping I would imagine the bandwidth usage is quite low 😜🤣🤣

Collapse
 
grahamthedev profile image
GrahamTheDev

I couldn't check it last night - it is 2.5kb per frame when gzipped for a 200 by 60 "resolution" image.

So it looks like you are right, I won't be able to roll this out as the future of video bandwidth saving ideas!

However you have given me an idea for a fun experiment for trying to write an "ASCII codec"....but that might be beyond my skills 🤣

Collapse
 
bezpowell profile image
BezPowell

An ASCII codec could be really interesting. I suppose you could borrow the idea of meta-blocks, or do some kind of diff operation between frames?

I've not really looked into video compression at all, but that is a really interesting idea for a pet-project.

Thread Thread
 
grahamthedev profile image
GrahamTheDev

It is one of those projects where you “do it badly” and then see how many clever algorithms etc a real codec uses and learn loads....added it for about 3 posts from now as I think it would be fun!

Thanks for the idea 😄