From: Ruben Beltran del Rio Date: Tue, 13 Feb 2024 22:01:01 +0000 (+0100) Subject: black and white X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/59f6606b915c93ad38d3d9ce74c600e975dd1031 black and white --- diff --git a/js/animation.js b/js/animation.js index 65ee4bd..e0a543f 100644 --- a/js/animation.js +++ b/js/animation.js @@ -13,7 +13,7 @@ x: rand(100), y: rand(100), angle: Math.random() * 2 * Math.PI, - color: Array(3).fill(null).map(() => rand(256)) + color: Array(3).fill(rand(256)) })); var shapes = [square, circle, heart, chaos, lineChaos]; var positions = [identity, spin(5), spin(15)];