Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

docs: Magnetic Button (04.05): How it works says the pretend pointer starts at the button's center

matin1b94ccc7a148
diff --git a/animations/04-micro-interactions/magnetic-button/README.md b/animations/04-micro-interactions/magnetic-button/README.md
index 2eec5676..0511b2a5 100644
--- a/animations/04-micro-interactions/magnetic-button/README.md
+++ b/animations/04-micro-interactions/magnetic-button/README.md
@@ -53,7 +53,7 @@ stage.addEventListener('pointermove', e => { if (e.pointerId === touchId) pointA
The spring-back is just a CSS `transition: transform .55s cubic-bezier(.22,1,.36,1)` on the button — when JS clears the offsets, the button eases home on its own. On touch screens, which cannot hover, the same pull follows a finger while it touches the stage, and the button springs home when the finger lifts.
-The keyboard drives the same `pull()`: with the button focused, each arrow key press moves a pretend pointer a tenth of Reach from the button's center, so the button leans toward it and springs home once it is out of reach. Escape, or moving the focus away, sends it home, and Space or Enter presses it as a pointer does.
+The keyboard drives the same `pull()`: with the button focused, a pretend pointer starts at its center and each arrow key press moves it a tenth of Reach, so the button leans toward it and springs home once it is out of reach. Escape, or moving the focus away, sends it home, and Space or Enter presses it as a pointer does.
## Key parameters
| Parameter | Default | Effect |