From 2232362d4200deb55306209dc62d35c878d368b1 Mon Sep 17 00:00:00 2001 From: Catalin Constantin Mititiuc Date: Mon, 16 Jun 2025 22:41:28 -0700 Subject: [PATCH] Fix uneven map scale --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 3828eb9..0a3fd69 100644 --- a/index.html +++ b/index.html @@ -25,7 +25,7 @@ } image#img2 { - transform: scale(1.39) rotate(0.07deg); + transform: scale(1.39, 1.407) rotate(0.07deg); /* opacity: 0.33; */ } @@ -119,8 +119,8 @@ pointCoords = rowCoords.map(y => columnCoords.map(x => [x, y])); var xOffset = 0.25, - yOffset = 0.4; - calcY = Math.sqrt(3) * pointDistanceInInches / 2 * 0.99, + yOffset = 0.45; + calcY = Math.sqrt(3) * pointDistanceInInches / 2, alternatingOffset = pointDistanceInInches / 2; pointCoords.forEach((row, index) => row.forEach(([x, y]) => {