Section 1 — feel the easing
Wheel through this. Lenis is not the browser's native scroll: it animates toward the target offset every frame using a smoothing factor.
Section 2 — momentum
Flick the trackpad and the scroll glides to a stop instead of snapping. That ramp-down is Lenis interpolating.
Section 3 — programmatic
Use the anchor buttons above; they call lenis.scrollTo() which animates here smoothly.
Section 4 — RAF driven
Lenis updates inside a requestAnimationFrame loop, so it stays in sync with the browser's paint.