{
  "id": 20898580,
  "title": "Why Mercator Maps Lie: Building 84 Equal-Area 3D Countries & 247 Orthographic Models in Vanilla JS",
  "url": "https://urgent.news/2026/11/20/why-mercator-maps-lie-building-84-equal-area-3d-countries-247",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-20T12:49:07.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/yang_rocky_2ac2041abd9a8c/why-mercator-maps-lie-building-84-equal-area-3d-countries-247-orthographic-models-in-vanilla-js-536f"
  },
  "original_language": "en",
  "account": "Most online games for comparing sizes use flat images that can distort the true size of countries. The Mercator projection, in particular, makes Greenland appear as large as Africa, which is 14 times larger in actual surface area. My new browser-based game, Play Size Comparison, aims to provide an honest visual estimation of spatial scale without any external dependencies and stays under a 100 KB script size. Here are the four key engineering solutions we implemented:\n\n1. Zero Perspective Distortion 3D Models (247 Verified Assets): To avoid perspective foreshortening, I created 163 studio-rendered 0°-orthographic 3D models covering a wide range of objects, wildlife, landmarks, vehicles, rockets, and planets. These models are tagged with explicit verified measurements and rendered using a centered Lambert Azimuthal Equal-Area projection to eliminate the distortion seen in Mercator maps.\n\n2. Fill-Ratio Math Compensation for Irregular Map Shapes: Simply scaling country bounding boxes by height or width leads to inaccurate comparisons for long, thin countries like Chile or Japan compared to compact ones like France. To address this, I calculate each country's true solid land pixel coverage ratio (fillRatio) on its top orthographic face and normalize display scaling using the square root of the area divided by the fillRatio.\n\n3. Symmetric Logarithmic Scoring & Blind Calibration: Traditional linear percentage error would unfairly penalize over-estimates more than under-estimates. To fix this, I use symmetric logarithmic error, where guessing 2× too large or 0.5× too small yields the same score of 50/100. To prevent experienced players from gaming the system by memorizing meter numbers, I added a Blind Eye toggle that hides all live meter/km² readouts until the user locks in their visual estimate.\n\n4. Hitting CLS = 0.000 & Shareable 1:1 Deep-Links: With the interactive stage hydrating client-side inside an SSR shell, I reserved exact responsive container heights, minimized meta charset, deferred Google Fonts, and measured CLS = 0.000 using PerformanceObserver. Every pair in our 247-model catalog (13,590 valid pairs) can be linked directly in 1:1 Showroom mode via URL query parameters for easy sharing.",
  "summary": "Most online size comparison games rely on flat black silhouettes—and when they compare countries, they often inherit Web Mercator distortion that makes Greenland look as large as Africa (even though Africa is 14× larger in true surface area). Today I launched Play Size Comparison , a free browser-based 3D visual scale estimation game and 1:1 visual reference studio built with zero-dependency…",
  "key_points": [
    "Created 247 verified 3D models with Lambert Azimuthal Equal-Area projection",
    "Calculated fillRatio for accurate comparison of irregular map shapes",
    "Implemented symmetric logarithmic scoring for unbiased error measurement"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}