Forum Discussion
Storyline: Animate or GSAP in JavaScript animations
Nedim and jeff-batt can add much more than I can. I dont build as much as I used to. However when I do I have rewritten anything that used GSAP to use advanced JavaScript API.
The main advantage for me is that I don't have to worry about users resizing their browser (you can fix this when using GSAP) and objects moving so my code can be lighter weight. Using GSAP for sometimes felt like I was pushing a stone up a hill, whereas the advanced JavaScript API is easier to use, easier to repurpose, but admittedly isn't as feature rich.
You still see your objects move? Hmm I have not run into that. I also feel like the animate in javascript API is more code to do what I want but yeah I think it could depend on what you are used to.
- PhilMayor1 month agoSuper Hero
I have not tried GSAP for ages so maybe they no longer move, I was plagued by clients who kept seeing movement!
- PhilMayor1 month agoSuper Hero
Definitely more code
- JeffBatt-bf49171 month agoCommunity Member
Yeah give it another try. When they released the JavaScript API it kind of took care of that issue from what I have seen. It does not change position when the browser gets resized like it did before.