Category "gsap"

Why my setPin in scrollMagic don't pin in react but in normal html it works properly?

I have a problem in reactjs wherein My setPin don't work properly in reactjs but in normal html it works properly... Basically the code was something like this

Why my scrollMagic is not working properly?

So basically I have problem wherein I try to make animation in my scroll animation using scrollMagic..My codes are written in reactjs but I don't know why it is

React + Gsap loop scroll

I just want to know wether someone knows how to create an loop vertical scroll using react and gsap. Thank you in advance!! i tried to use some links but didn't

GSAP scrolling breaks when switching browser tabs

I've noticed some strange behavior of GSAP scrolling in GatsbyJS. I have a container with full-page sections that are scrolled with GSAP. I open a tab in a brow

How do I make GSAP find the "most optimal" rotation method?

I want my mesh to rotate at 90 degree angles in all directions, but make GSAP find the most "optimal rotation". So if I press 1 it'll be at this.meshName.rotati

JS: How to calculate face value after dice roll animation

I've created a neat little dice roll animation. It is essentially 6 div elements inside a wrapper container that has been styled into a cube via CSS. I've got i

Sveltekit Greensock Scrolltrigger breaking in production

I have a Green Sock animation that is working fine in development, but breaks in yarn run preview and production: ScrollTrigger-4a410f45.js:9 Uncaught (in promi