Skip to content

Commit b2022ba

Browse files
Adjust squares overlap for better visibility
1 parent fcde06e commit b2022ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/js/hashArt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function gridToSvg(grid) {
4242
if (grid[y][x]) {
4343

4444
const fillValue = grid[y][x] ? 'hsl(0deg 0% 0%)' : 'hsl(0deg 0% 100%)';
45-
svg += `<rect x="${x}" y="${y}" width="1.02" height="1.02" fill="${fillValue}"></rect>`;
45+
svg += `<rect x="${x}" y="${y}" width="1.1" height="1.1" fill="${fillValue}"></rect>`;
4646
}
4747
}
4848
}

0 commit comments

Comments
 (0)