Changeset 0490abe in Klonkt for scripts

Timestamp:
08/20/2026 11:32:11 AM (3 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
6fdceed
Parents:
3ccca13
Message:

Reader: inertia scales with the gesture — more on a nudge, less on a flick

Lenis reads lerp, touchInertiaExponent and syncTouchLerp at event time
(checked in the vendor file), so they can be set per gesture. A small
gesture now gets the softer brake and the higher exponent, a fast one
the firmer brake and a lower exponent.

The inversion is deliberate: with distance = |velocity| exponent, a
high exponent carries a hard flick far but shrinks a gentle one — which
is exactly backwards from what a nudge should feel like. Six numbers up
top do the tuning; the thresholds next to them define small and fast.

Co-Authored-By: Claude Fable 5 <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.