Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
sabird

Duplicating the MatrixTransformer class from ActionScript?

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I have done a lot of work in ActionScript over the years developing interactive maps for use online and in kiosks.  I'm making the jump into JavaScript, and I'm looking at the various tools available. I make extensive use of the MatrixTransformer class in my ActionScript work to facilitate precise zooming and panning in my maps.  Is there currently a good solution in GSAP for JavaScript for accomplishing these tasks?  If not, is there any plan for including a MatrixTransformer analog in GSAP for JavaScript?  Thank you.  

Link to comment
Share on other sites

Welcome to the forums.

 

You're talking about Adobe's "MatrixTransformer" class, right?

 

GSAP allows you to control almost all of those components nicely (scale, skew, rotation, etc.) and you can use a transformOrigin of your choosing, but no, we don't have (or plan to have) something that just translates matrix values for you. Maybe if there's a very clear use case with a lot of people requesting it, we very well may build something like that but frankly you're the first person to ask (that I can remember at least). Do you mind me asking what the practical use case is that isn't adequately handled by GSAP's existing tools? 

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.
×