From 1b4cb4715ba3d68502d14f5a7c88b56e53ba8da1 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sat, 8 Apr 2023 19:01:04 -0500 Subject: [PATCH] Make circle more circular --- commands/drawDesign.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index 956e495..0689804 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -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)