Jump to content
Search Community

SebastianWebb

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SebastianWebb's Achievements

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

2

Reputation

  1. GSAP scrubs up pretty well against those scripts. In some cases one or another was more accurate. But I understand that full decomposition accuracy isn't possible with matrices. I'm pleased to say that you've just landed yourself a new customer! The dedicated support you provide made that an easy decision. I commend you. And I'm really looking forward to integrating my CSS editor with GSAP's super cool animation features in future. Have a great week, Sebastian
  2. Ah, that's really useful to know. I thought the unexpected values for rotate and skew were due to mathematical error. Your function only ever returns zero for skewY. I thought that was an oversight, but perhaps it's because you represent the orientation in another way. I did a bit more digging, and found some scripts that might be useful to you. They don't disambiguate everything, but may serve as a useful reference, if you understand the maths (which I certainly don't). https://github.com/mattdesl/mat4-decompose https://github.com/ismailman/decompose-dommatrix All the best, Sebastian
  3. Hey Jack, Thanks so much for the super quick reply. I need it for a UI I'm building which allows users so control transform properties using sliders and drag etc. I'm including all CSS transform properties for completeness. And I need a way to convert the computed CSS, which the browser returns as a matrix, back into the individual CSS transform functions. The computed value is important because the transform styles might be set elsewhere, not just via the UI I'm building. Gsap might not be the right tool for this particular job (the results were not accurate for skewY and rotation, even when setting the transform functions in the order GSAP expects - translate, scale, rotate X/Y, skew, rotateZ ). But I have a strong feeling I will come back to it for it's animation capabilities in future. And I will be very happy to get the business license. All the best, Sebastian
  4. Hi guys, I'd really like to incorporate gsap in a commercial project, but I've noticed an omission in the parseTransform function in the CSSPlugin file. This returns all the transform functions apart from scaleZ. Is there any reason why? Could support for this be added? Thanks, Sebastian
×
×
  • Create New...