From: Ruben Beltran del Rio Date: Fri, 16 Feb 2024 23:08:27 +0000 (+0100) Subject: use H for shapes X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/ad84fcffd61dabbbbc14865c7b23800bccf66cbd use H for shapes --- diff --git a/js/animation.js b/js/animation.js index 657071f..4c04e12 100644 --- a/js/animation.js +++ b/js/animation.js @@ -15,9 +15,9 @@ a: R() * 2 * PI, c: Array(3).fill(r(256)) })), - S = [sqr, crc, hrt, chs, lch], + H = [sqr, crc, hrt, chs, lch], P = [id, spn(5), spn(15)], - draw = S[r(S.length)], + draw = H[r(H.length)], pos = P[r(P.length)] function r(x) {