Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
06e53e370b
@ -38,7 +38,7 @@ module.exports = {
|
||||
case 4:
|
||||
output = design4(inputString);
|
||||
}
|
||||
console.log(codeBlock("", output));
|
||||
//console.log(codeBlock("", output));
|
||||
let testLength = "\n" + 'output length was ' + (output.length) + " characters.";
|
||||
if (output.length + testLength.length > 2000) {
|
||||
//await interaction.reply('Error: String is too big. Resultant output would be too big to send to Discord. (the output length was ' + (output.length + testLength.length) + " characters.)");
|
||||
@ -178,7 +178,7 @@ function design4(input) {
|
||||
// for vertical movement
|
||||
for (j = 0; j <= 2 * radius; j++) {
|
||||
dist = Math.sqrt(
|
||||
((i - radius) * (i - radius) * 4) +
|
||||
((i - radius) * (i - radius) * 4) + // (* 4) accounts for the offset between lines
|
||||
(j - radius) * (j - radius)
|
||||
);
|
||||
//console.log(i, j, radius, dist);
|
||||
|
Loading…
Reference in New Issue
Block a user