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