X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/672c9cfeface5336603ed84b3a913870ab53b2c8..855c10a40134d0bfe25a77096c9e2f9ec385e753:/js/animation.js?ds=inline diff --git a/js/animation.js b/js/animation.js index 71d5aa3..ecf5e43 100644 --- a/js/animation.js +++ b/js/animation.js @@ -22,14 +22,14 @@ } function sqr(i) { - var {x, y} = pos(i) - X.fillRect(x, y, z, z) + var p = pos(i) + X.fillRect(p.x, p.y, z, z) } function crc(i) { - var {x, y} = pos(i) + var p = pos(i) B() - X.arc(x, y, z / 2, 0, 2 * PI) + X.arc(p.x, p.y, z / 2, 0, 2 * PI) F() }