Share Posted November 11, 2019 I don't believe I'm doing ease none in a scroll to correctly, can anyone tell me what I'm doing wrong? See the Pen gOOjZqz?editors=1111 by cmbarsotti (@cmbarsotti) on CodePen Link to comment Share on other sites More sharing options...
Share Posted November 12, 2019 Hey IntouchGroup and welcome to the forums. In GSAP 3, eases are super simple: A linear/no ease is just ease: "none" (or ease: "linear", both work)! Thanks for the reduced demo 2 Link to comment Share on other sites More sharing options...
Share Posted November 12, 2019 3 hours ago, ZachSaucier said: Hey IntouchGroup and welcome to the forums. In GSAP 3, eases are super simple: A linear/no ease is just ease: "none" (or ease: "linear", both work)! Thanks for the reduced demo ah! I had a similar issue. I looked in the docs and there it told me to get a 'linear.easeNone' or 'power0.easeNone' but neither of those worked. as well as in the ease visualiser if you click power0 Link to comment Share on other sites More sharing options...
Share Posted November 12, 2019 4 hours ago, ZachSaucier said: Hey IntouchGroup and welcome to the forums. In GSAP 3, eases are super simple: A linear/no ease is just ease: "none" (or ease: "linear", both work)! Thanks for the reduced demo hey zach, am starting study gsap3 this week, am sorry if my question are bad or noobs, but you're sure this is a good and more easy approach in workflow? I loved the objets ref because it allow me search all references in my engine where i use specific math ease. Example right click on Elastic here and click find all reference, i can found all Elastics tweening in my engines. In the example your show, from my know. vscode not allow to search all references by strings "Elastic". or "Power0","Power1","Power2".. The result give none. Or maybe i do something wrong ? I know window allow some deep search string that can help. but it not very productive So the string approach will break vscode intellisense for search math ease ? Link to comment Share on other sites More sharing options...
Share Posted November 12, 2019 You can still search your project for strings. That's what this big button is for. And you don't have to use strings for eases. The old way still works. And you can use .parseEase if you need an actual reference. https://greensock.com/docs/v3/GSAP/gsap.parseEase() 3 1 Link to comment Share on other sites More sharing options...
Share Posted November 12, 2019 7 minutes ago, OSUblake said: You can still search your project for strings. That's what this big button is for. And you don't have to use strings for eases. The old way still works. And you can use .parseEase if you need an actual reference. https://greensock.com/docs/v3/GSAP/gsap.parseEase() tanks you blake this is a good answer. Only issue for search string, , is if i use a lot of comment, it also search in comment or local variables name. But if we can use old way , or parseEase look interesting thanks Link to comment Share on other sites More sharing options...
Share Posted November 12, 2019 10 hours ago, flowen said: as well as in the ease visualiser if you click power0 Oops, thanks for pointing that out. I updated the ease visualizer to include the correct value. Thanks for bringing it to our attention! 3 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now