KQ-202 · NEWTON/CRADLE
Newton's Cradle
A Newton's cradle rendered in SVG. The end ball falls, the line holds still, and the momentum pops out the far ball — a perpetual, deterministic transfer. The swing eases in on the fall and out on the rise so it reads as gravity, and the inner balls never move.
KQ-202 · NEWTON/CRADLE
Momentum end to end
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/newton-cradle
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| count | number | — | Number of balls, clamped to 3–7. |
| period | number | — | Seconds per full left-right cycle. |