Framer Motion Wavy Text Animation

Framer Motion Wavy Text Animation

I am trying to create a wavy text animation where I am getting the text from an array. And if the first text completes its animation then it should start hiding and another text from the array should start the animation.

codesandbox link:

James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.