diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/js/shards.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/assets/js/shards.js b/docs/assets/js/shards.js index c1f1476..8ee2642 100644 --- a/docs/assets/js/shards.js +++ b/docs/assets/js/shards.js @@ -78,8 +78,11 @@ const shards = (function () { if (w.min > w.max) { w.min += 10; } - let rot = { min: randint(360), max: randrange(720, 1080) }; - console.log(w, rot); + let rotMin = randint(360); + let rot = { + min: rotMin, + max: rotMin * randrange(2, 3) + randint(90) + 270, + }; for (var i = 0; i < count; i++) { update(i, t, w, rot, dark, light); } |
