Thanks, I can look at that and add some more settings.
“Linear interpolation (lerp) intensity” and “Duration of scroll animation” are now available. Please update to 1.0.4
Hey Michael, thank you so much for your quick reaction! 🙂
I have tested it extensively with different values. Although I don’t think I understand how the two settings affect each other, it seems that 0.05 and 2 suits my needs. Only scrolling to the last bit at the bottom of a page or back to the last bit of the top menu seems to be too slow…
As I mentioned in the settings: the duration is only used when lerp is 0. So those settings will just use lerp 0.05. The settings are straight from Lenis: https://github.com/darkroomengineering/lenis?tab=readme-ov-file#instance-settings (there is not much explanation of what they do, besides the time of course, that is seconds to stop). I’ll add some easing function in the future.
Ah okay. I am curious. Thank you again! 🙂