Remix.run Logo
Analemma_ 4 hours ago

Presumably you could precompute some parametric function (probably a Fourier sum) which draws a reasonably close map of the world, and get that into 500 bytes with a math-focused programming environment (R, Julia, etc.)? I might try throwing Fable at this and seeing what I can get.

Analemma_ 4 hours ago | parent [-]

Well, here's what Fable came up with in 499 bytes of R in about half an hour: https://pastebin.com/sBsiGD9t, result: https://imgur.com/a/W3eDdIC. Probably with sitting down and tweaking you could do even better, but I think this is a decent first start.

boulos 23 minutes ago | parent | next [-]

And it made a classic optimization: removing New Zealand :).

Analemma_ 21 minutes ago | parent [-]

In its defense, it actually asked me whether I wanted to spend my 500 bytes on more resolution for the main continents or more landmasses, and I opted for the former. You can blame me for that, not Claude :)

gus_massa an hour ago | parent | prev | next [-]

Did you or Fable decide to split North and South America?

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.

Analemma_ 27 minutes ago | parent [-]

Fable did that, I pretty much just told it to find the best Fourier sum which can draw a map of the world in less than 500 bytes of R. It downloaded geo data and made the curves to fit that on its own.

cwmoore 2 hours ago | parent | prev [-]

I can see leas than half of it. Imgur?