()
| 616 | let loading = true; |
| 617 | |
| 618 | function animate() { |
| 619 | if (loading || step % dw < dw - 5) { |
| 620 | requestAnimationFrame(function() { |
| 621 | drawCircles(); |
| 622 | animate(); |
| 623 | }); |
| 624 | } |
| 625 | } |
| 626 | window.animateBackground = function(l) { |
| 627 | loading = l; |
| 628 | animate(); |