Building a World Map with only 500 bytes
Building a World Map with only 500 bytes
Iwo Kadziela (assisted by Codex) figured out a way to generate a credible ASCII world map using 445 bytes of data:
The key trick is to use deflate compression, which is then wired together using this neat snippet of JavaScript. I didn't know you could use fetch() with data: URIs like this:
Via Hacker News
Tags: ascii-art, data-urls, javascript
评论
?
参与讨论