From 8f5f0b5fb1ea24390568b5fdce2af4def7cedef2 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 11 Oct 2026 20:32:37 -0700 Subject: Feed wheel: turning the wheel into a page already moving winds the speed up. Each notch added the same push whatever the speed, so a sustained turn settled at a stroll (the coast's decay ate what each notch added). Now the push scales with the speed on the page, 1x from rest up to 2.5x at a fast coast, so keeping the wheel turning keeps accelerating; a single notch from rest, the reversal and the trackpad path are as before (feed-momentum + feed-wheel-reverse tests green). Co-Authored-By: Claude Fable 5.1 --- src/app.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index aab07da..bb4520f 100644 --- a/src/app.js +++ b/src/app.js @@ -6625,7 +6625,12 @@ if (INTENT_URI) { window.scrollBy({ top: first, behavior: 'instant' }); coast((px * 3 - first) / TAU); } else { - coast(v + (px * 3) / TAU); + // A notch into a page already moving pushes harder: the faster it + // goes, the more each turn adds (up to 2.5x), so keeping the wheel + // turning winds the speed up instead of settling at a stroll. From + // rest a notch is the same push as ever. + const gain = 1 + Math.min(1.5, Math.abs(v) / 4); + coast(v + (px * 3 * gain) / TAU); } }, { passive: false }); // anything else that moves the page takes over from a coast -- cgit v1.2.3