1
0
mirror of git://f0xx.org/ac/ac-be-hub synced 2026-08-09 20:59:23 +03:00

fix(globe3d=11): N-S squeeze lat/0.5 not lat/1.75

Use divisor 0.5 (was wrongly dividing by ~2) to compress vertical land span.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-08-05 19:18:37 +02:00
parent 4a0184356d
commit f4324fa578
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ const CONTINENT_INNER_SX = 1.2408477842003853;
const CONTINENT_INNER_SY = 1.2408477842003853;
/** Map plate center longitude (extract_red_polygons.py CENTER_LON). */
const MERCATOR_LON_CENTER = (12 * Math.PI) / 180;
/** NS squeeze multiplier on sampled latitude (0.5 = half vertical span). */
/** NS squeeze divisor on sampled latitude (0.5 → lat/0.5, compresses disk NS). */
const CONTINENT_NS_SQUEEZE = 0.5;
const RASTER_SCALE = 2;
const AXIS_STEPS = 160;

View File

@@ -187,7 +187,7 @@ function hub_h(string $s): string {
var supportsLayout = !!(window.CSS && CSS.supports && CSS.supports('object-fit', 'cover'));
var logoEnabled = !!(stage && supportsSvg && supportsLayout);
var logoBuild = '20260704globe19';
var logoBuild = '20260704globe20';
function hubAsset(rel) {
var link = document.querySelector('link[href*="hub.css"]');