diff --git a/web-app/seafoam/src/index.html b/web-app/seafoam/src/index.html index 2985dcf..5b1d80f 100644 --- a/web-app/seafoam/src/index.html +++ b/web-app/seafoam/src/index.html @@ -333,7 +333,7 @@ const xdist = tailx - headx; const ydist = taily - heady; const zdist = tailz - headz; - const interval = Math.floor(Math.sqrt(xdist * xdist + ydist * ydist + zdist * zdist)); + const interval = xdist + ydist + zdist; for (var j = 1; j < interval; j++) { const x = Math.round(headx + j * xdist / interval); const y = Math.round(heady + j * ydist / interval);