var textWrapper = document.querySelector('.theselector');
textWrapper.innerHTML = textWrapper.textContent.replace(/\S/g, "$&");
anime.timeline({loop: loopvalue})
.add({
targets: '.theselector .letter',
opacity: [0,1],
easing: "easeInOutQuad",
duration: 2250,
delay: (el, i) => 150 * (i+1)
});