|
|
|
@ -168,10 +168,10 @@ function design4(input) {
|
|
|
|
|
space += " ";
|
|
|
|
|
}
|
|
|
|
|
// for horizontal movement
|
|
|
|
|
for (let i = 0; i <= 2 * radius; i++) {
|
|
|
|
|
for (let i = 0; i <= 1.5 * radius; i++) {
|
|
|
|
|
if (i != mid) {
|
|
|
|
|
// for vertical movement
|
|
|
|
|
for (let j = 0; j <= 1.5 * radius; j++) {
|
|
|
|
|
for (let j = 0; j <= 2 * radius; j++) {
|
|
|
|
|
|
|
|
|
|
dist = Math.sqrt(
|
|
|
|
|
(i - radius) * (i - radius) +
|
|
|
|
|