Commit 07179fa
docs: touch-grade smoothness pass + in-page support figures
Fixes the root cause of mobile bugginess: .fv-canvas set touch-action:
none on EVERY canvas, so thumb swipes over any figure ate page scroll.
Canvases now default to pan-y; full gesture capture is opt-in via a
shared FV.drag manager (pointer capture, claims the gesture only when
the touch actually hits a draggable, >=22px hit inflation on coarse
pointers, grab halo). Killed the same class in inline.js (unconditional
preventDefault on touchmove) and in every hero's hand-rolled drag code;
monad's machinery strip no longer steals scroll swipes as Steps;
flash decay is time-based; layouts audited at 390px and 320px.
Adds docs/viz/minis.js — eight page-support figures woven into the
explorables' explanation sections: autocorrelation decay and a live
sigma-sweep on Metropolis, the double-well momentum-vs-random-walk
strip and a divergence-cliff scatter on HMC, an animated bind-chain
on the monad page, sequential-update small multiples on Anatomy, an
ESS timeline on SMC, and a natural-return-types flow on Distributions.
Mobile-verified via emulated 390x844 touch contexts with CDP touch
events: swipe-over-widget scrolls the page, point-drags move points
without scrolling, zero console errors, zero >50ms long tasks; full
desktop regression green.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DEAKcbnLVP8iSXub2Pqor21 parent 0f103ec commit 07179fa
16 files changed
Lines changed: 1544 additions & 223 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
67 | 90 | | |
68 | 91 | | |
69 | 92 | | |
| |||
198 | 221 | | |
199 | 222 | | |
200 | 223 | | |
| 224 | + | |
201 | 225 | | |
202 | 226 | | |
| 227 | + | |
| 228 | + | |
203 | 229 | | |
204 | 230 | | |
205 | 231 | | |
| |||
312 | 338 | | |
313 | 339 | | |
314 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
0 commit comments