From 0e1731fbc4faa34088fea865b11ecbd990ebf447 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sat, 8 Apr 2023 19:00:22 -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 3f423ad..956e495 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -168,14 +168,14 @@ function design4(input) { space += " "; } // for horizontal movement - for (let i = 0; i <= 1.5 * radius; i++) { + for (let i = 0; i <= 2 * radius; i++) { if (i != mid) { // for vertical movement for (let j = 0; j <= 2 * radius; j++) { dist = Math.sqrt( (i - radius) * (i - radius) + - (j - radius) * (j - radius) + (j - radius / 2) * (j - radius / 2) ); // dist should be in the range (radius - 0.5)