Jump to content
Search Community

Backwards writing typewriter with TextPlugin

Tr0xi test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hey,

 

I'm trying to create an typewriter animation with TextPlugin that writes from the end of the string to the start.
So imagine we have a string "Hi i am a string". The animation would write it from right to left in order "gnirts a ma i iH", but it would still be in the proper orientation for reading "Hi i am a string".

If you look at the attached codepen. I was able to have it appear from right to left, but the order of the "writing" is wrong in regards of the cursor movement. So is there an way to do it with TextPlugin or do i maybe have to use the SplitText?

See the Pen GRWWYbL by Tr0xi (@Tr0xi) on CodePen

Link to comment
Share on other sites

  • 7 months later...
  • 2 years later...
On 12/27/2021 at 8:49 PM, GreenSock said:

I dropped a new rtl: true option into this [unreleased] version of TextPlugin - does it work the way you hoped? 

https://assets.codepen.io/16327/TextPlugin3.min.js

 

 

 

Hey! I was just looking for this, but didn't find anything related to it on the docs, just a heads up so you guys can update it!

 

It works just as expected, thanks very much btw

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...