_,--', _._.--._____
.--.--';_'-.', ";_ _.,-'
.'--'. _.' {`'-;_ .-.>.'
'-:_ ) / `' '=.
) > {_/, /~)
snd |/ `^ .'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
fetch('data:;base64,1ZpLsgIxCEXnrM...==').then(
r => r.body.pipeThrough(new DecompressionStream('deflate-raw'))
).then(
s => new Response(s).text()
).then(
t => b.innerHTML = '<pre style=font-size:.65vw>' + t
)What was asked of Claude? The article is very sparse on this.
Also, can this be done with png? Most consecutive lines are very similar, so I'd expect the algebraic pass to be very useful.
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).
I’m asking here instead of asking an LLM because that’s what humans used to do and it was pleasant.
I too would be interested in approximations or heuristics if anyone has any
Makes me think a project-and-rasterize pipeline, sampling a simplified world water boundary map under a variety of projection parameters should give you a range of bitmaps, and then it is up to whoever to decide if the detail lost in all of this renders it incompatible with the world as they know it.
The site below takes detailed map files and removes significant detail for practical purposes:
Can the it also split Africa/Arabia/Eurasia?
Who/how decided which islands to keep and which to erase?
If you want to save a few characters, you can replace `length(v)` with the actual number.
Then it's a matter of picking a suitable way to encode numbers into bits.
I came up with groups of four bits. If the high bit is not set that is the number, if it is set then read an additional group of four bits, and interpret as a biased 7 bit number. This came out to 400 bytes not including decompressor.
The galaxy brain move would be to always arbitrarily start with one character, replace the two special numbers with a single "don't output any characters, just swap" number, and then... congratulations, you just reinvented CompuServe RLE!
http://fileformats.archiveteam.org/index.php?title=CompuServ...
:
You're welcome.