尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Run the same interface animation through different easing curves, side by side, and watch where they actually differ. Built because a curve on a graph tells you very little until you see it move a real bottom sheet.
npm run dev # builds, then serves on http://localhost:4173
There is no bundler and no dependencies. npm run build regenerates the two HTML entry
points from src/body.html; everything else is plain ES modules the browser loads directly.
The repository root is the site root: index.html, styles.css and js/ are served as they
are. vercel.json pins the settings, so importing the repo on Vercel needs no changes in the
import screen:
| Setting | Value |
|---|---|
| Root Directory | ./ (leave it alone) |
| Framework Preset | Other |
| Build Command | node build.js |
| Output Directory | . |
| Install Command | none needed, there are no dependencies |
node build.js only regenerates the two HTML entry points from src/body.html. They are
committed, so the site also deploys correctly with the build step disabled.
Vercel builds the repository's default branch as production. From the CLI:
npx vercel # preview deployment
npx vercel --prod # production
Timing curves use the same cubic-bezier solver browsers use: Newton-Raphson with a bisection fallback.
Springs are parameterised by duration and bounce rather than stiffness, damping and mass,
matching SwiftUI's Spring(duration:bounce:) and Motion's spring({ duration, bounce }).
Internally that maps to a damping ratio (1 - bounce when bounce is positive,
1 / (1 + bounce) when negative) and a natural frequency of 2π / duration, then solves the
underdamped, critically damped or overdamped case as needed. Because a spring keeps moving
after its nominal duration, the settle time is found numerically and shown on each card.
Interruptions follow what each kind of animation really does. A reversed CSS transition is shortened by how far it had travelled (the spec's reversing shortening factor) and replays its curve from the start. A spring is re-solved from its current position and velocity towards the new target, which is why it never stutters.
CSS output for springs is a sampled linear()
easing, which is how you run a real spring through a CSS transition.
src/body.html page markup, the single source for both entry points
styles.css tokens and all styling
js/easings.js curve math, the library, code generation
js/motion.js playback over time, and interruption
js/curve.js SVG plotting
js/demos.js the UI blocks inside the phone
js/app.js state, grid, playback clock, tuning bench
build.js writes index.html (standalone) and artifact.html (embedded)
serve.js dependency-free static server
index.html is the standalone page for any static host. artifact.html is the same page
without the document skeleton, for embedding where the host supplies it. Both are generated:
edit src/body.html, not the output.