ion + '%, ' + luminosity + '%)';
      }

      animation = anime({
        targets: '.stagger-visualizer .dot',
        keyframes: [
          {
            zIndex: function(el, i, total) {
              return Math.round(anime.stagger([numberOfElements, 0], {grid: grid, from: index})(el, i, total));
            },
            translateX: anime.stagger('-.001rem', {grid: grid, from: index, axis: 'x'}),
            translateY: anime.stagger('-.001rem', {grid: grid, from: index, axis: 'y'}),
            dura