Ex-Vercel engineer Shu Ding: linear approximation gives free layout animations
shuding · x · 2026-10-27
Shu Ding 展示两个数学化 UI 技巧:Linearity——断点之间布局随窗口宽度线性变化,因此只需跑一次真实布局并求一次导数,就能用线性插值 f(x) ≈ f(a) + f'(a)(x−a) 预测中间所有帧,省掉逐帧计算。Smoothness——直接修改编译出的布局数学函数,把每个 step() 软化为 sigmoid(),布局动画就
Related event: Vercel's The Calculus of Interfaces Compiles React UI into Math Functions(11 posts)→
More from Research
- Intrinsically motivated agents replicate fruit fly exploration, predicting actions 10s ahead — NeuroAgentsLab · 2026-10-27
- UCL paper: auto-edited 3D Gaussian Splatting enables online Bayesian change detection — Changrui Zhu · 2026-10-27
- Vault: cell biology's most enigmatic structure, 40 years still unexplained — JosephJacks_ · 2026-10-27
- Memory Tax paper: most agent memory systems still lose to naive RAG — omarsar0 · 2026-10-27
- Async RL recipes converge: score centering and masked importance sampling now default in TRL — _lewtun · 2026-10-27
- Sweeping every neuron and having Haiku name and rate them by weirdness — Sauers_ · 2026-10-27