Live data from Hacker News

World Capitals Voronoi

jasondavies.com

61–70 of 73 posts

Re: World Capitals Voronoi

#64

It would be interesting to see a map which was not minimizing [distance to capital] but instead minimized [distance to capital]/sqrt([national population]). The latter would be more robust against Sybil attacks.

I was wondering what kind of metric could be used to visualize a nation’s ability to project power. Maybe some ratio involving the furthest distance from the capital city to the nation’s border? I’m curious why the sqrt of the population in the denominator?

Square root of the population is because that's what it takes to normalize large vs small countries. Imagine slicing a country into quarters; each slice has a quarter of the population and half the radius.

Re: World Capitals Voronoi

#65
Looks like it uses seven colors (including bodies of water). Can it be done with fewer colors? The four color theorem does not quite apply, as all bodies of water have to be the same color.

Re: World Capitals Voronoi

#66
post #19

The framerate and latency on this visualization is absolute magic. Hover the mouse around over the sphere: https://www.jasondavies.com/maps/voronoi/

I find zooming on this world capitals one to be quite slow for some reason, mostly well below 10fps, and it’s rendering all frames rather than skipping to keep up (the wrong decision, I reckon). Panning is excellent; and zooming is fine on /maps/voronoi/, which has only a dozen or so points, which I guess must be few enough not to slow it down. I’m curious what’s going on, but not enough to delve into the code myself.

Actually, even /maps/voronoi/ lags if you zoom in really far, and in a way that can break the scroll capture—I presume the code is non-passively watching scroll events and calling preventDefault(), but once it’s lagging hard enough the browser takes matters into its own hands and says you didn’t act fast enough.

Re: World Capitals Voronoi

#68
Suppose right before this re-bordering takes place, the countries are given the chance to change the capitals' location. Suppose further that they all do it to maximize the area after re-bordering.

I wonder how much the result will differ?

Re: World Capitals Voronoi

#70
post #16

Ukraine's capital is misspelled "Kiev". Should be "Kyiv"

Just for a bit of context, this site is from over a decade ago, at which point almost everyone outside of Ukraine used the old spelling of Kiev, despite the official transliteration change to Kyiv from 1995 [0]. Ukraine ended up having to run the KyivNotKiev [1] campaign to get other countries to adopt the new spelling, which mostly gradually happened over the last few years. But I think it's a bit much to expect eve…

Thank you for westsplaining me my history.

It was always Kyiv. Your (personal or collective) ignorance and/or obsession over moscowite imperiealists doesn't change the name of my city.

Post reply on HN