Changeset 0490abe in Klonkt for src/views/shell.ejs


Ignore:
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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/shell.ejs

    r3ccca13 r0490abe  
    505505  // Eén nummer voor de hele map. Te vaak bumpen kost één download; te weinig
    506506  // bumpen kost een bugfix die nooit aankomt.
    507   var MOD_V = 49;
     507  var MOD_V = 50;
    508508
    509509  // name -> 1 (aan het laden) of de module-namespace (geladen). Een module
Note: See TracChangeset for help on using the changeset viewer.