From 1d9561ae6dddd3cb8f2f3c1972967368ebeecf49 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sat, 8 Apr 2023 18:55:03 -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 18c033a..99e7823 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -171,11 +171,11 @@ function design4(input) { for (let i = 0; i <= 2 * radius; i++) { if (i != mid) { // for vertical movement - for (let j = 0; j <= 1 * radius; j++) { + for (let j = 0; j <= 1.5 * radius; j++) { dist = Math.sqrt( (i - radius) * (i - radius) + - (j - radius) + (j - radius) * (j - radius) ); // dist should be in the range (radius - 0.5)