I need to make text generated from particles and vice version, later that text generated from particles to to burst out into particles again.
So there is already a script i am using for the text to get generated from particles, it's using [login to view URL]
So there is a function that starts generation of text from particles, but i need another function that would make reverse action.
So for example now if i click on button it calls onclick="[login to view URL]()" function and text is generated from particles.
But i need something like onclick="[login to view URL]()" and that would make reverse action, the text dissolves into particles and they disappear.
You can take a look at whole code on here i uploaded example on codepen: [login to view URL]