Jump to content
Search Community

daivt

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by daivt

  1. On 7/26/2022 at 1:25 AM, Carl said:

    thx for the demo.

    i saw you have a lot of inline styles that set various transforms using transform:matrix() and transformOrigin.

     

    I'd recommend using gsap for the transforms in these cases

     

    I stripped out the inline styles in the svg and used gsap with a simple tween so you can better see where the origin is

     

     

     

    Feel free to tweak the numbers of course.

    I know what you say but the problem is i can not flatten transforms :(

     

    You change my transformOrigin that is not what I excepted :( but still thanks you for your advice

  2. 7 hours ago, Carl said:

    thx for the demo.

    i saw you have a lot of inline styles that set various transforms using transform:matrix() and transformOrigin.

     

    I'd recommend using gsap for the transforms in these cases

     

    I stripped out the inline styles in the svg and used gsap with a simple tween so you can better see where the origin is

     

     

     

    Feel free to tweak the numbers of course.

     

     

    You change my transformOrigin that is not what I excepted :( but still thanks you for your advice

×
×
  • Create New...