 document.createElement('div');
      dotEl.classList.add('dot');
      dotsFragment.appendChild(dotEl);
    }

    dotsWrapperEl.appendChild(dotsFragment);

    var index = anime.random(0, numberOfElements-1);
    var nextIndex = 0;

    function play() {

      paused = false;
      if (animation) animation.pause();

      nextIndex = anime.random(0, numberOfElements-1);

      var saturation = 75;

      var colorStart = anime.random(0, 256);
      var colorEnd = anime.random(0, 256);
      var colorRang