Fix uneven map scale

This commit is contained in:
Catalin Constantin Mititiuc 2025-06-16 22:41:28 -07:00
parent b07722faed
commit 2232362d42

View File

@ -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]) => {