Yes, I figured out nearly the same ??
1 - Math.pow(1 - x, 5)
(by the way: the first suggestion (x===0?0:x===1 …) did not work. But it doesn’t matter now.)
I have a small issue with the Lenis settings: it affects my scroll triggered menu. So the menu fades in slowly, when I activate the plugin. But I suppose I’ll have to live with that. (The gblazex library does not affect the menu).
I don’t want to annoy you, but I asked myself: Is it possible to deactivate the smooth scrolling on devices that have already smooth scrolling by default as e.g. laptops? On my MacBook the doubled smooth scrolling is not so nice. If I test it on my smartphone the smooth scrolling seems already to be deactivated there. That’s good.
-
This reply was modified 1 month, 4 weeks ago by
allbutone.
-
This reply was modified 1 month, 4 weeks ago by
allbutone.