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