X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/05a804d01b1fb83de89170c77799d1a43da925b1..36626ad13ee10ab19d9fd8b810e3d37fd80a601c:/js/animation.js 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)];