design 5
This commit is contained in:
parent
e765f24c4c
commit
5632fac3c4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user