3 ms·
https://paint-xp.com/min.html https://paint-xp.com/min.html It's MS Paint from Windows XP, ~700 KB in size in a single HTML file. Source code available here: h
by assemblylang 5y ago
https://paint-xp.com/min.html https://paint-xp.com/min.html
It's MS Paint from Windows XP, ~700 KB in size in a single HTML file. Source code available here: https://github.com/assemblylanguage/xp-paint https://github.com/assemblylanguage/xp-paint
- lelandfe 5y agoThis is really cool, and so is Humble[0]! Thanks for sharing. You're even underselling things by not talking about gzipped sizes – a paltry 311kB. All that chunky base64 compresses pretty well, it seems :) [0] https://github.com/assemblylanguage/humble https://github.com/assemblylanguage/humble
- assemblylang 5y agoHey thanks, glad you like these projects! Yeah you're right I was only looking at uncompressed size, add in some gzip and actual size through the network is even smaller. Also glad you like humble, it's one of those side projects I get a lot of enjoyment out of developing and that I can get pretty creative with. You can do some interesting optimizations and modifications when the entire state of a web page is known in advance, and it's fun to look at some of these edge cases.