Benello Posted Thursday at 08:24 AM Share Posted Thursday at 08:24 AM Hi GSAP Team, I'm currently using GSAP for my animations, and I'm particularly interested in the SplitText plugin. I'd like to know if SplitText currently supports canvas text rendering. If not, are there any plans to include canvas support for SplitText in the future? Thank you! Link to comment Share on other sites More sharing options...
Rodrigo Posted Thursday at 02:24 PM Share Posted Thursday at 02:24 PM Hi, As far as I know there isn't a support for canvas because SplitText does a bunch of DOM related calculations and operations. What you could try is to create a DOM element, use SplitText on it get the result from it and add that to a canvas element (letter by letter or word by word using a loop) and then delete the DOM element to remove it from the DOM. As far as I can tell there aren't any plans for SplitText on canvas for the future, but I don't have the final say in this though. Happy Tweening! 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