Fix uneven map scale
This commit is contained in:
parent
b07722faed
commit
2232362d42
@ -25,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
image#img2 {
|
image#img2 {
|
||||||
transform: scale(1.39) rotate(0.07deg);
|
transform: scale(1.39, 1.407) rotate(0.07deg);
|
||||||
/* opacity: 0.33; */
|
/* opacity: 0.33; */
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -119,8 +119,8 @@
|
|||||||
pointCoords = rowCoords.map(y => columnCoords.map(x => [x, y]));
|
pointCoords = rowCoords.map(y => columnCoords.map(x => [x, y]));
|
||||||
|
|
||||||
var xOffset = 0.25,
|
var xOffset = 0.25,
|
||||||
yOffset = 0.4;
|
yOffset = 0.45;
|
||||||
calcY = Math.sqrt(3) * pointDistanceInInches / 2 * 0.99,
|
calcY = Math.sqrt(3) * pointDistanceInInches / 2,
|
||||||
alternatingOffset = pointDistanceInInches / 2;
|
alternatingOffset = pointDistanceInInches / 2;
|
||||||
|
|
||||||
pointCoords.forEach((row, index) => row.forEach(([x, y]) => {
|
pointCoords.forEach((row, index) => row.forEach(([x, y]) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user