Can you build a recognizable World Map in under 500 bytes?(experimentlog.com)
experimentlog.com
Can you build a recognizable World Map in under 500 bytes?
https://www.experimentlog.com/blog/building-a-world-map-with-only-500-bytes
21 comments
I know this doesn't meet the spirit of the challenge, but...
U+1F5FA does it in 4 bytes!
https://www.compart.com/en/unicode/U+1F5FA
https://www.compart.com/en/unicode/U+1F5FA
Enhance!
I asked deepseek to turn this into an offscreen-canvas-based ascii renderer: https://retr0.id/stuff/worldgolf.html
Weighs in at 379 bytes (or 378 if you trim the newline). Obviously it is font-dependent, but it works on my machine!
Edit: golfed a bit further, but unsure how reliable it'll be with different fonts: https://retr0.id/stuff/worldgolf2.html
Weighs in at 379 bytes (or 378 if you trim the newline). Obviously it is font-dependent, but it works on my machine!
Edit: golfed a bit further, but unsure how reliable it'll be with different fonts: https://retr0.id/stuff/worldgolf2.html
BTW... full credit to the artist, Shanaka Dias.
https://asciiart.website/artist.php?artist_id=121
https://asciiart.website/preservation/poster.php?person_id=1...
https://asciiart.website/artist.php?artist_id=121
https://asciiart.website/preservation/poster.php?person_id=1...
it said recognizable, and I recognize this :)
One could probably map this in JavaScript in 3D on a rotating sphere and it'd be a "recognizable world map" of sorts.
180?
Why is there a lake in Africa near Congo/Gabon istead of one near Uganda?
Also, can this be done with png? Most consecutive lines are very similar, so I'd expect the algebraic pass to be very useful.
Also, can this be done with png? Most consecutive lines are very similar, so I'd expect the algebraic pass to be very useful.
> Why is there a lake in Africa near Congo/Gabon istead of one near Uganda?
Africa and Europe are connected through Spain.
There's no Suez channel.
There are plenty of approximation: it's the whole point of the thing... You only get 1013 bytes (or, well, 500 bytes in the question asked).
Africa and Europe are connected through Spain.
There's no Suez channel.
There are plenty of approximation: it's the whole point of the thing... You only get 1013 bytes (or, well, 500 bytes in the question asked).
If you were to render only one lake in Africa I would expect Lake Victoria
With a whooping 500 bytes it should have sound, animation and disco lights[1][2].
[1]: https://www.youtube.com/watch?v=_RtfXZQihes
[2]: https://www.pouet.net/prod.php?which=105717
[1]: https://www.youtube.com/watch?v=_RtfXZQihes
[2]: https://www.pouet.net/prod.php?which=105717
Its a fun challenge.
I used https://squoosh.app to make a pretty good one. Mostly just a resize and then OxiPNG for compression. Managed a 124x62 black/white image. OP has a resolution of 195x53, so I had very similar, but slightly worse i think? mostly a different aspect ratio + map projection i think.
playing with Squoosh.app is very fun, and you can very easily see how the jump from 500b to 1-2kb turns a map from "awful" to "very good" with the right settings.
I used https://squoosh.app to make a pretty good one. Mostly just a resize and then OxiPNG for compression. Managed a 124x62 black/white image. OP has a resolution of 195x53, so I had very similar, but slightly worse i think? mostly a different aspect ratio + map projection i think.
playing with Squoosh.app is very fun, and you can very easily see how the jump from 500b to 1-2kb turns a map from "awful" to "very good" with the right settings.
great job, looks like you got it down to 786 bytes of html and under 400 for the map data. I like your approach.
[deleted]
[deleted]
The ASCII art reminds me of teletext.. this page shows a globe on a teletext page: https://www.wikiwand.com/en/Teletext
Experimenting with drawing a world map and micro-optimization.