Make circle more circular

master
Chloe Fontenot 🏳️‍⚧️ 2023-04-08 18:49:47 +07:00
parent 3ee804af3d
commit 4fa9c1d1f1
1 changed files with 1 additions and 1 deletions

@ -171,7 +171,7 @@ function design4(input) {
for (let i = 0; i <= 2 * radius; i++) { for (let i = 0; i <= 2 * radius; i++) {
if (i != mid) { if (i != mid) {
// for vertical movement // for vertical movement
for (let j = 0; j <= 2 * radius; j++) { for (let j = 0; j <= 1 * radius; j++) {
dist = Math.sqrt( dist = Math.sqrt(
(i - radius) * (i - radius) + (i - radius) * (i - radius) +