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