]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
use H for shapes
authorRuben Beltran del Rio <redacted>
Fri, 16 Feb 2024 23:08:27 +0000 (00:08 +0100)
committerRuben Beltran del Rio <redacted>
Fri, 16 Feb 2024 23:08:27 +0000 (00:08 +0100)
js/animation.js

index 657071fa5c99a7c87e467066bb38d383e3ea4ee1..4c04e122d41a69605ecf3ec534d48e9ee8b54e14 100644 (file)
@@ -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) {