Lenis Smooth Scrolling
Lenis is an open source javascript library which also has the most beautiful website. Lenis is used for smoothing the user's scroll experience, and keeping it consisten between different devices. It is normally used together with something like GSAP ScrollTrigger.
How is this useful for a webcomic? For a vertical scroll
webcomic, especially one that relies on scroll animations (see Scroll
Theory --link), the smoothness of the scroll is very important, as well
as making it feel consistent across devices. When you scroll on a mobile
app like Webtoon, or even social media like instagram, you'll notice the
scrolling is very smooth. The scroll doesn't immediately stop when you
lift your finger, instead it eases out for a smooth feeling. Compare
this to most websites on a computer with mouse, when you stop scrolling,
it stops with no easing .
So if you want to make a desktop website for
your webcomic, you may want use a scroll smoother like Lenis so your
desktop site feels as smooth as mobile. This is even more important if
you're using ScrollTrigger animations with scrubbing, because a smoother scroll means
smoother animations