@ -174,8 +174,8 @@ function design4(input) {
for (let j = 0; j <= 2 * radius; j++) {
dist = Math.sqrt(
(i - radius) * (i - radius) +
(j - radius / 2) * (j - radius / 2)
(i - radius / 2) * (i - radius / 2) +
(j - radius) * (j - radius)
);
// dist should be in the range (radius - 0.5)