From 5632fac3c4a5ac0dd201d632ffd35311525235d4 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sat, 8 Apr 2023 23:18:52 -0500 Subject: [PATCH] design 5 --- commands/drawDesign.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index 905feb9..3c5fba3 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -261,14 +261,14 @@ function design5(input) { if (dist > radius - 1 && dist < radius + 1) { //&& dist > radius - 1 lineHasInput = true; - outputLine += input.charAt(charIterate); + outputLine += input.charAt(charIterate(input)); } else { outputLine += " "; } } } else { lineHasInput = true; - outputLine += input.charAt(charIterate) + space + input + space + spaceOffset + input.charAt(charIterate); + outputLine += input.charAt(charIterate(input)) + space + input + space + spaceOffset + input.charAt(charIterate(input)); } //console.log(i, j, outputLine);