PaulSorry Posted March 25 Share Posted March 25 I found this beautiful codepen example of an animated "rolling" text which I implemented in my app. However, what I'm trying to achieve is to have the last number different while rolling. For example, I'd like to start the animation on the text "2013" and while the 2 / 0 / 1 just repeat themselves while rolling (as in the provided codepen), the last digit goes from 3 to 4 to 5 etc all the way up to 8, with the final animation being 2018. Thank you in advance! See the Pen ZEmOKvP by PointC (@PointC) on CodePen Link to comment Share on other sites More sharing options...
Solution Rodrigo Posted March 25 Solution Share Posted March 25 Hi @PaulSorry and welcome to the GSAP Forums! Maybe something like this: See the Pen yLrXKxm by GreenSock (@GreenSock) on CodePen Hopefully this helps. Happy Tweening! 1 Link to comment Share on other sites More sharing options...
PaulSorry Posted March 25 Author Share Posted March 25 1 minute ago, Rodrigo said: Hi @PaulSorry and welcome to the GSAP Forums! Maybe something like this: Hopefully this helps. Happy Tweening! Oh that's beautiful, just what I was looking for! Thanks! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now