From 699edf9d119bd337ed164af05ee72ce4b5da8da1 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sat, 8 Apr 2023 22:30:40 -0500 Subject: [PATCH] Make circle more circular --- commands/drawDesign.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index b6281ea..d01a4d3 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -178,7 +178,7 @@ function design4(input) { // for vertical movement for (j = 0; j <= 2 * radius; j++) { dist = Math.sqrt( - ((i - radius) * (i - radius) * 4) + + ((i - radius) * (i - radius) * 4) + // (* 4) accounts for the offset between lines (j - radius) * (j - radius) ); //console.log(i, j, radius, dist);