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: the Micro-Interactions READMEs give the demo's values in Key parameters wherever a choice stands for a size, a time, a distance or a strength, checked against each page's code, and Accordion's Several open at once says how each way moves the list

matin32c653049f78
diff --git a/animations/04-micro-interactions/accordion/README.md b/animations/04-micro-interactions/accordion/README.md
index 734e336e..0c885e04 100644
--- a/animations/04-micro-interactions/accordion/README.md
+++ b/animations/04-micro-interactions/accordion/README.md
@@ -75,7 +75,7 @@ trigger.addEventListener('click', () => {
|-----------|---------|--------|
| Speed | Normal | How long an answer takes to open or close: slow is 500ms, normal 300ms and fast 180ms |
| Feel | Gentle | Gentle eases in and out, which suits opening and closing alike; Smooth slows at the end; Even keeps one steady speed |
-| Several open at once | off | Off closes the open answer when another opens, which keeps the list short; on suits settings pages |
+| Several open at once | off | Off closes the open answer when another opens, which keeps the list short but moves a question up when a longer answer above it closes; on keeps each answer open until its question is pressed again, so only the answer being opened moves |
| Built with | Measured height | Measured height measures the answer before growing to it; Grid rows lets a grid row grow from nothing to its full size, with no measuring; both look the same |
| Arrow flips | on | The arrow beside each question turns to point up while its answer is open |
| Text fades in | off | The answer's text fades in and rises slightly while its box opens, each paragraph a moment after the one before |
diff --git a/animations/04-micro-interactions/add-to-cart-fly/README.md b/animations/04-micro-interactions/add-to-cart-fly/README.md
index f0f427ec..dbafaea6 100644
--- a/animations/04-micro-interactions/add-to-cart-fly/README.md
+++ b/animations/04-micro-interactions/add-to-cart-fly/README.md
@@ -36,7 +36,7 @@ When the vertical animation's `finished` promise resolves, the copy is removed,
| Parameter | Default | Effect |
|-----------|---------|--------|
| Flight speed | Normal | How long the copy takes to reach the cart: slow is 1.1s, normal 0.7s and fast 0.45s |
-| Path | Arc | Arc rises and drops into the cart like a toss; Straight goes in a line, easing in and out |
+| Path | Arc | Arc moves sideways at an even pace while it rises and drops into the cart like a toss, peaking a twentieth of the sideways distance (10 to 28px) above the cart; Straight goes in a line, easing in and out |
| Cart bumps | On | The cart tips and grows for a moment and its badge pops as the copy lands; off, only the number changes |
## Production notes
diff --git a/animations/04-micro-interactions/badge-pulse/README.md b/animations/04-micro-interactions/badge-pulse/README.md
index bd055bc0..e37a7273 100644
--- a/animations/04-micro-interactions/badge-pulse/README.md
+++ b/animations/04-micro-interactions/badge-pulse/README.md
@@ -69,7 +69,7 @@ Stopping after three pulses takes two more declarations on the animated parts, `
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| Pulse style | Grow | Grow scales the badge up and back; Ring sends a soft halo outward; Both does the two together |
+| Pulse style | Grow | Grow scales the badge up and back; Ring sends a soft halo outward from just around the badge, growing to 2.2 times that size as it fades from half opacity to nothing; Both does the two together |
| Speed | Normal | How long one pulse takes: slow is 2.4s, normal 1.5s and fast 0.9s; fast feels urgent, slow is easy to miss |
| How much it grows | Medium | How big the badge gets at the top of each pulse: slightly is 115%, medium 130% and a lot 150% of its size |
| Stops after three pulses | off | The badges pulse three times and then rest; the online dot keeps going |
diff --git a/animations/04-micro-interactions/button-loading-states/README.md b/animations/04-micro-interactions/button-loading-states/README.md
index 2061a461..0c1c5fba 100644
--- a/animations/04-micro-interactions/button-loading-states/README.md
+++ b/animations/04-micro-interactions/button-loading-states/README.md
@@ -46,10 +46,10 @@ The label and the spinner crossfade in place, the tick and the cross draw themse
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| Result | Success | Success shows a tick on green; Error shows a cross on red and gives the button a small shake |
+| Result | Success | Success shows a tick on green; Error shows a cross on red and gives the button a small shake, swinging 7, 6, 4 and 2px to alternate sides over 0.4 seconds |
| Speed | Normal | How long the shape, the color and the icon take to change: slow is 500ms, normal 300ms and fast 180ms |
| Shrinks to a circle | On | On clips the button's color into a circle around the spinner; off keeps its full shape and changes only what is inside |
-| How long it loads | Medium | How long the spinner turns before the answer: short is 0.7 seconds, medium 1.2 and long 2.2; in a real form this is the server's time |
+| How long it loads | Medium | How long the spinner turns once the button has changed shape, before the answer comes: short is 0.7 seconds, medium 1.2 and long 2.2; in a real form this is the server's time |
## Production notes
- **`aria-disabled`, not `disabled`**: a button that becomes `disabled` while it has the focus drops the focus to the page, and keyboard users lose their place. Keep it focusable, mark it `aria-disabled="true"` and ignore presses in your handler.
diff --git a/animations/04-micro-interactions/checkmark-draw/README.md b/animations/04-micro-interactions/checkmark-draw/README.md
index bdab896c..26a516b4 100644
--- a/animations/04-micro-interactions/checkmark-draw/README.md
+++ b/animations/04-micro-interactions/checkmark-draw/README.md
@@ -55,9 +55,9 @@ path.style.strokeDashoffset = 0;
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| Result | Success | Success draws a circle and a tick and turns the button green; Error draws a red X, shakes it and turns the button red |
-| Speed | Normal | How long each line takes to draw: slow is 800ms, normal 500ms and fast 300ms; 200 to 800ms is easy to follow |
-| Line thickness | Medium | Thin is 2, medium 4 and thick 7 units wide; thick reads as confident, thin as precise |
+| Result | Success | Success draws a circle and a tick and turns the button green; Error draws a red X, shakes it (6, 6, 4 and 4px to alternate sides over 0.4 seconds) and turns the button red |
+| Speed | Normal | How long each line takes to draw: slow is 800ms, normal 500ms and fast 300ms, the tick starting 40% of that time after the circle (the X's second line 30% after its first); 200 to 800ms is easy to follow |
+| Line thickness | Medium | Thin is 2px, medium 4px and thick 7px wide, on an icon 80px across whose circle is 60px wide; thick reads as confident, thin as precise |
| Feel | Smooth | Smooth slows at the end like a pen lifting off; Gentle eases in and out; Even draws at one steady pace |
| Tick color | Green | The color of the circle and the tick; the X stays red |
diff --git a/animations/04-micro-interactions/click-ripple/README.md b/animations/04-micro-interactions/click-ripple/README.md
index 4e236284..dcffc22a 100644
--- a/animations/04-micro-interactions/click-ripple/README.md
+++ b/animations/04-micro-interactions/click-ripple/README.md
@@ -52,7 +52,7 @@ A press from the keyboard has no position: Enter or Space fires a `click` whose
|-----------|---------|--------|
| Starts from | Where you press | Where you press shows exactly where the press landed; the middle is simpler but less exact |
| Speed | Normal | How long the ripple takes to spread and fade: slow is 1000ms, normal 600ms and fast 350ms; a little longer than a hover change, because the click is already made |
-| Ripple size | Medium | How far the circle grows before it fades: small, medium or large; even small reaches every corner of the button |
+| Ripple size | Medium | How far the circle grows before it fades: small, medium and large end 3, 5 and 8 times the button's longer side across; even small reaches every corner of the button |
| Ripple strength | Medium | How visible the ripple is at the start: faint is 20%, medium 40% and strong 60% |
| Ripple color | White | White suits colored buttons, orange matches the accent, black suits light buttons |
diff --git a/animations/04-micro-interactions/drag-to-reorder/README.md b/animations/04-micro-interactions/drag-to-reorder/README.md
index 25cf3619..419f046a 100644
--- a/animations/04-micro-interactions/drag-to-reorder/README.md
+++ b/animations/04-micro-interactions/drag-to-reorder/README.md
@@ -48,7 +48,7 @@ Pointer Events cover mouse, pen and touch with one code path, and `setPointerCap
| Parameter | Default | Effect |
|-----------|---------|--------|
| Slide speed | Normal | How fast the passed items slide aside and the dropped one settles: slow is 420ms, normal 220ms and fast 120ms |
-| How much it lifts | Subtle | Subtle grows the held item by 2% with a soft shadow; strong grows it by 6%, tilts it a little and deepens the shadow |
+| How much it lifts | Subtle | Subtle grows the held item by 2% with a soft shadow 8px below it; strong grows it by 6%, tilts it 1.5° and deepens the shadow to 18px below it |
| Drags by the handle only | off | Only the grip starts a drag; when off, the whole row does, after a short press on touch screens |
## Production notes
diff --git a/animations/04-micro-interactions/dynamic-island/README.md b/animations/04-micro-interactions/dynamic-island/README.md
index c3c455f2..5f1d2da3 100644
--- a/animations/04-micro-interactions/dynamic-island/README.md
+++ b/animations/04-micro-interactions/dynamic-island/README.md
@@ -67,9 +67,9 @@ The same transition runs whichever two shapes it goes between, so picking anothe
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| Notification | Call | What the pill grows into: a call card, a timer in a wide capsule, or a taller music card with controls; picking another while it is open changes the shape straight into the new one |
+| Notification | Call | What the 96 by 32px pill grows into: a call card 76px tall, a timer in a wide capsule 64px tall, or a music card with controls 148px tall, each about four fifths as wide as the screen; picking another while it is open changes the shape straight into the new one |
| Speed | Normal | How long it takes to grow or shrink: slow is 1100ms, normal 700ms and fast 450ms; a spring needs a little longer than a plain ease, because it settles at the end |
-| Bounce | Soft | None eases out without going past the size; Soft goes about 5% past it and Springy about 16%, and then each settles |
+| Bounce | Soft | None eases out without going past the size; Soft goes past it by about 5% of the change in size and Springy by about 16%, and each settles by the end of its time |
## Production notes
- **Never animate `width` or `height`**: every frame would lay out the card and its text again, and the words would wrap and jump while it grows. A clip, or a scale on a layer whose children are scaled back, changes only what is painted.
diff --git a/animations/04-micro-interactions/error-shake/README.md b/animations/04-micro-interactions/error-shake/README.md
index 237304bc..5b91c1f3 100644
--- a/animations/04-micro-interactions/error-shake/README.md
+++ b/animations/04-micro-interactions/error-shake/README.md
@@ -46,7 +46,7 @@ A decaying shake reads as "no" universally because it *returns to origin*. Motio
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| Shake distance | Medium | How far the field swings: small is 4px, medium 8px and large 14px; under 4px barely shows and over about 16px feels violent |
+| Shake distance | Medium | How far the field swings: small is 4px, medium 8px and large 14px, the first swing most of that way and each one after it shorter, down to nothing; under 4px barely shows and over about 16px feels violent |
| Number of swings | Medium | How many times it swings: few is 4, medium 6 and many 8; four to six reads as a head shake, more feels frantic |
| Speed | Normal | How long the whole shake lasts: slow is 650ms, normal 400ms and fast 250ms; under 250ms feels twitchy and over 600ms drags |
diff --git a/animations/04-micro-interactions/focus-ring/README.md b/animations/04-micro-interactions/focus-ring/README.md
index bd0b02e7..e560119b 100644
--- a/animations/04-micro-interactions/focus-ring/README.md
+++ b/animations/04-micro-interactions/focus-ring/README.md
@@ -57,8 +57,8 @@ The animation interpolates `outline-offset` from a larger value inward — the r
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| Ring style | Solid | Solid is a plain outline; Dashed draws it in dashes; Glow adds a soft halo; Wide fills the gap between the item and the ring, making one thick band |
-| Speed | Normal | How long the ring takes to close in: slow is 220ms, normal 140ms and fast 80ms; fast enough not to feel delayed, slow enough to see |
+| Ring style | Solid | Solid is a plain outline; Dashed draws it in dashes; Glow adds a soft halo, a band of the ring's color at 18% opacity reaching 5px out from the item; Wide fills the gap between the item and the ring, making one thick band |
+| Speed | Normal | How long the ring takes to close in from 8px further out: slow is 220ms, normal 140ms and fast 80ms; fast enough not to feel delayed, slow enough to see |
| Ring thickness | Medium | Thin is 1px, medium 2px and thick 4px; 2px or more is easy to see |
| Ring gap | Small | The space between the ring and the item: none, 3px or 6px; 2 to 4px looks natural |
diff --git a/animations/04-micro-interactions/gooey-menu/README.md b/animations/04-micro-interactions/gooey-menu/README.md
index cbbc9fd3..537a1ec0 100644
--- a/animations/04-micro-interactions/gooey-menu/README.md
+++ b/animations/04-micro-interactions/gooey-menu/README.md
@@ -60,8 +60,8 @@ Closed, the small buttons' group is `inert` at once (the buttons turn `visibilit
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| Layout | Arc | Row puts the small buttons in a line beside the round one; Arc fans them out above it; Column stacks them above it |
-| How gooey | Medium | How much the circles are blurred before the edge is sharpened: low is 5, medium 9 and high 13 (times the menu's scale, and a fifth less on phones); higher keeps the drops joined for longer |
+| Layout | Arc | Row puts the small buttons in a line beside the round one and Column stacks them above it, with 20px gaps; Arc fans them out above it, 84px from its center and 60° apart; the round button is 64px across and the small ones 50px |
+| How gooey | Medium | How much the circles are blurred before the edge is sharpened: low is a 5px blur, medium 9px and high 13px for a round button 64px across (scaled with the menu, and a fifth less on phones); higher keeps the drops joined for longer |
| Speed | Normal | How long a small button takes to pop out: slow is 950ms, normal 600ms and fast 380ms, each starting 90, 60 or 40ms after the one before |
| Shows the plain circles | Off | Turns the filter off and draws each circle as a ring, to show what moves underneath; it is a way to look, so it is not added to the copied prompt |
| Button color | Orange | The color of the circles; the icons stay dark |
diff --git a/animations/04-micro-interactions/gradient-border/README.md b/animations/04-micro-interactions/gradient-border/README.md
index a4869da2..eacd4c42 100644
--- a/animations/04-micro-interactions/gradient-border/README.md
+++ b/animations/04-micro-interactions/gradient-border/README.md
@@ -46,7 +46,7 @@ document.documentElement.style.setProperty('--dur', next + 's');
| Colors | Rainbow | The four colors of the band: Rainbow, Sunset (yellow to purple) or Ocean (teal to indigo) |
| Speed | Normal | How long one trip around the edge takes: slow is 7s, normal 4s and fast 2s; much faster and it looks busy |
| Soft glow | On | A blurred copy of the band behind the element, so its colors spill softly onto the page |
-| Band length | Long | How much of the edge the colors cover at once: a short band, a long one, or colors all around |
+| Band length | Long | How much of the edge the colors cover at once: a short band about a third of the way around, a long one about three fifths, each fading in from a faint tail to a bright front, or colors all around |
| Border width | Medium | How thick the colored edge is: thin is 1px, medium 2px and thick 4px |
## Production notes
diff --git a/animations/04-micro-interactions/heart-burst/README.md b/animations/04-micro-interactions/heart-burst/README.md
index 0bafa280..485adbff 100644
--- a/animations/04-micro-interactions/heart-burst/README.md
+++ b/animations/04-micro-interactions/heart-burst/README.md
@@ -52,7 +52,7 @@ The `-1` bias on initial `vy` makes the burst lean upward before gravity pulls i
| Parameter | Default | Effect |
|-----------|---------|--------|
| Number of hearts | Some | How many pieces burst out: few is 10, some 18 and many 32; above about 40 it gets busy and costs frames |
-| How far they fly | Medium | How far the pieces travel before they fade: short, medium or far |
+| How far they fly | Medium | How far the pieces travel before they fade: short, medium and far launch them at up to 300, 450 or 700px a second (at least half that), and they slow, fall and fade out over about three quarters of a second, the fastest ending about 150, 225 or 350px to the side of the heart |
## Production notes
- **Canvas over DOM particles**: 18–40 short-lived DOM `<span>`s per tap creates layout/GC churn if the user spams the button. One canvas with an array of plain objects stays flat and cheap.
diff --git a/animations/04-micro-interactions/magnetic-button/README.md b/animations/04-micro-interactions/magnetic-button/README.md
index afb26995..d96e2338 100644
--- a/animations/04-micro-interactions/magnetic-button/README.md
+++ b/animations/04-micro-interactions/magnetic-button/README.md
@@ -60,7 +60,7 @@ The keyboard drives the same `pull()`: with the button focused, a pretend pointe
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| Pull strength | Medium | How far the button moves toward the pointer: gentle is 20%, medium 35% and strong 50% of the distance; past about half it feels loose |
+| Pull strength | Medium | How far the button moves toward the pointer: gentle is 20%, medium 35% and strong 50% of the distance when the pointer is close, a smaller share the farther it is, down to none at the edge of Reach; past about half it feels loose |
| Reach | Medium | How close the pointer must come before the pull starts: short is 100px, medium 160px and long 240px; too far and the button reacts to unrelated movement |
## Production notes
diff --git a/animations/04-micro-interactions/pull-to-refresh/README.md b/animations/04-micro-interactions/pull-to-refresh/README.md
index 8867e1b7..d28ad79c 100644
--- a/animations/04-micro-interactions/pull-to-refresh/README.md
+++ b/animations/04-micro-interactions/pull-to-refresh/README.md
@@ -39,7 +39,7 @@ On `pointerup`, if `pull >= threshold` the view enters the refreshing state: the
| Parameter | Default | Effect |
|-----------|---------|--------|
| Pull distance | Medium | How far the list must be pulled before letting go refreshes: short is 48px, medium 64px and long 80px, measured after the resistance |
-| Resistance | Medium | How hard the list fights back as it is pulled: low, medium or high; with a long pull distance and high resistance, it takes a long drag |
+| Resistance | Medium | How hard the list fights back as it is pulled: it follows the finger at first and stiffens, so reaching the pull distance takes a drag of about 1.4 times it (low), 1.8 times (medium) or 2.25 times (high), and the list never goes past 3.4, 2.2 or 1.8 times it; with a long pull distance and high resistance, it takes a long drag |
| Spinner | Ring | A turning ring, three blinking dots or four stretching bars |
| Refresh time | Medium | How long the spinner turns before the new item arrives: short is 700ms, medium 1200ms and long 2000ms |
diff --git a/animations/04-micro-interactions/segmented-control/README.md b/animations/04-micro-interactions/segmented-control/README.md
index 03f06e0a..302e9855 100644
--- a/animations/04-micro-interactions/segmented-control/README.md
+++ b/animations/04-micro-interactions/segmented-control/README.md
@@ -63,7 +63,7 @@ A curve that runs a little past its end (Springy) gives the highlight a sense of
|-----------|---------|--------|
| Speed | Normal | How long the highlight takes to slide: slow is 550ms, normal 340ms and fast 200ms |
| Feel | Springy | Springy runs a little past the option, then settles; Smooth slows to a stop; Even keeps one steady speed |
-| Highlight | Pill | A filled pill behind the chosen option, or a thin line under it |
+| Highlight | Pill | A filled pill behind the chosen option, or a thin 2px line under it |
| Number of options | Four | Two to five options; more, or long labels, do not fit on one line |
## Production notes
diff --git a/animations/04-micro-interactions/shimmer-effect/README.md b/animations/04-micro-interactions/shimmer-effect/README.md
index ab2f3fb1..6a8bd731 100644
--- a/animations/04-micro-interactions/shimmer-effect/README.md
+++ b/animations/04-micro-interactions/shimmer-effect/README.md
@@ -50,8 +50,8 @@ The `background-size: 200% 100%` and position animation gives more control over
| Parameter | Default | Effect |
|-----------|---------|--------|
| Speed | Normal | How often the light crosses: slow every 1.2s, normal every 0.75s and fast every 0.45s; more often than about every 0.4s it feels frantic |
-| Brightness | Medium | How strong the band of light is: soft, medium or bright; soft is subtle, bright suits a branded screen |
-| Highlight angle | Upright | Upright sweeps a straight band; Slanted and Diagonal tilt it; keep one angle across the whole page |
+| Brightness | Medium | How strong the band of light is: soft, medium and bright are 12%, 25% and 45% opacity at its center; soft is subtle, bright suits a branded screen |
+| Highlight angle | Upright | Upright sweeps a straight band; Slanted tilts it 25° and Diagonal 45°; keep one angle across the whole page |
| Highlight color | White | White works on any placeholder; blue or gold suit branded screens |
## Production notes
diff --git a/animations/04-micro-interactions/skeleton-loader/README.md b/animations/04-micro-interactions/skeleton-loader/README.md
index f4afda85..f31dae3b 100644
--- a/animations/04-micro-interactions/skeleton-loader/README.md
+++ b/animations/04-micro-interactions/skeleton-loader/README.md
@@ -49,7 +49,7 @@ The content element needs `opacity: 0; transition: opacity 400ms ease` to fade i
| Parameter | Default | Effect |
|-----------|---------|--------|
| Pulse speed | Normal | How long one pulse takes: slow is 2.4s, normal 1.5s and fast 0.9s; one to two seconds feels calm, faster feels anxious |
-| Pulse strength | Medium | How far the blocks fade between pulses: soft, medium or strong; a soft pulse is enough |
+| Pulse strength | Medium | How far the blocks fade between pulses: soft, medium and strong fade them to 70%, 50% and 30% opacity and back to full; a soft pulse is enough |
| Loading time | Medium | How long the placeholders show before the content fades in: short is 1s, medium 2s and long 3.5s |
## Production notes
diff --git a/animations/04-micro-interactions/spotlight-hover/README.md b/animations/04-micro-interactions/spotlight-hover/README.md
index 7d27ef3c..c03f41ad 100644
--- a/animations/04-micro-interactions/spotlight-hover/README.md
+++ b/animations/04-micro-interactions/spotlight-hover/README.md
@@ -40,7 +40,7 @@ The grid also takes keyboard focus (`tabindex="0"`), and the light then appears
| Glow size | Medium | How far the light reaches: small, medium and large are 0.7, 1.15 and 1.7 times the grid's shorter side across |
| Color | Purple | The color of the light and of the lit edges; white looks the most natural on gray cards |
| Lights the edges | On | The card edges near the pointer glow brightly; off, only the faces brighten |
-| Lag | Short | How far the light trails a moving pointer: none follows it exactly, short closes 30% of the gap per 60 Hz frame and long 10% |
+| Lag | Short | How far the light trails a moving pointer: none follows it exactly, short closes 30% of the gap per 60 Hz frame and long 10% (other screens close the share that fits their frame time), so the light gets 95% of the way in about 0.15 or 0.5 seconds |
## Production notes
- **Move layers, do not repaint them**: the common shortcut writes the pointer position into CSS variables used by a `radial-gradient(circle at var(--x) var(--y), …)`, which repaints every card on every pointer move. Moving finished layers with `transform` leaves the work to the compositor.
diff --git a/animations/04-micro-interactions/success-confetti/README.md b/animations/04-micro-interactions/success-confetti/README.md
index 266d69ff..d54671e5 100644
--- a/animations/04-micro-interactions/success-confetti/README.md
+++ b/animations/04-micro-interactions/success-confetti/README.md
@@ -58,7 +58,7 @@ Because the loop reads live `pCount`, `spreadDeg`, and `gravity` values, changin
|-----------|---------|--------|
| Amount of confetti | Medium | How many pieces fly: some is 60, medium 120 and lots 200; above about 200 costs frames on slower phones for little gain |
| Spread | Medium | How wide the fan is: narrow is 60°, medium 110° and wide 170°; narrow looks like a fountain, wide like a dome |
-| Fall speed | Normal | How strongly the pieces are pulled down: floaty, normal or heavy; heavy falls fast, floaty drifts |
+| Fall speed | Normal | How strongly the pieces are pulled down: floaty, normal and heavy speed their fall by about 540, 1,000 and 1,600px a second every second, against launch speeds of 360 to 780px a second, so the fastest pieces climb about 560, 300 or 180px before they fall; heavy falls fast, floaty drifts |
## Production notes
- **Time, not frames**: scale every per-frame amount (gravity, spin, fade) by the time since the last frame, and raise the drag factor to the same power (`0.99 ** k`). Without it the burst runs twice as fast on a 120 Hz screen and half as fast on a 30 Hz phone, and anything timed around it, such as the demo's Show me, falls out of step.
diff --git a/animations/04-micro-interactions/swipe-to-dismiss/README.md b/animations/04-micro-interactions/swipe-to-dismiss/README.md
index 34732003..81897db8 100644
--- a/animations/04-micro-interactions/swipe-to-dismiss/README.md
+++ b/animations/04-micro-interactions/swipe-to-dismiss/README.md
@@ -43,7 +43,7 @@ Commit is decided by distance **or** velocity — a fast flick counts even if th
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| Distance to delete | Medium | How far a card must be dragged before letting go deletes it: short is 20%, medium 35% and long 50% of its width; a quick flick deletes it from a shorter drag |
+| Distance to delete | Medium | How far a card must be dragged before letting go deletes it: short is 20%, medium 35% and long 50% of its width; a quick flick (faster than 600px a second, after at least 24px) deletes it from a shorter drag |
| Shows a Delete label | on | A red strip with the word Delete shows behind the card while it is dragged |
## Production notes
diff --git a/animations/04-micro-interactions/toast-notification/README.md b/animations/04-micro-interactions/toast-notification/README.md
index e672fcb9..aff2aa49 100644
--- a/animations/04-micro-interactions/toast-notification/README.md
+++ b/animations/04-micro-interactions/toast-notification/README.md
@@ -33,7 +33,7 @@ The region is `role="status" aria-live="polite"` so each toast's text is announc
| Parameter | Default | Effect |
|-----------|---------|--------|
| Corner | Top right | Where toasts appear and stack; in the bottom corners the newest sits nearest the corner |
-| How it comes in | Slides | Slides in from its corner's side, fades in, or grows from slightly smaller; it leaves the same way |
+| How it comes in | Slides | Slides in from its corner's side, starting just over its own width away, fades in, or grows from 85% of its size, each fading in over 0.34 seconds; it leaves the same way in 0.3 seconds |
| Time on screen | Medium | How long each toast stays: short is 2.5 seconds, medium 4 and long 6.5; its bar counts down this time |
| Most at once | Four | Two, three or four; when one more arrives, the oldest leaves |
diff --git a/animations/04-micro-interactions/tooltip-reveal/README.md b/animations/04-micro-interactions/tooltip-reveal/README.md
index 27beb750..619c49dc 100644
--- a/animations/04-micro-interactions/tooltip-reveal/README.md
+++ b/animations/04-micro-interactions/tooltip-reveal/README.md
@@ -80,7 +80,7 @@ document.addEventListener('keydown', e => {
| Parameter | Default | Effect |
|-----------|---------|--------|
| Delay before showing | Medium | How long the pointer must rest before the tooltip shows: none, short (150ms), medium (300ms) or long (600ms); 300ms keeps tooltips from flashing as the pointer passes, and 200ms can work for very small ones |
-| Speed | Normal | How long the fade and the slight grow take: slow is 250ms, normal 150ms and fast 90ms |
+| Speed | Normal | How long the fade and the slight grow (from 95% of its size) take: slow is 250ms, normal 150ms and fast 90ms |
| Delay before hiding | Short | How long the tooltip stays after the pointer leaves: none, short (100ms) or long (300ms); a short pause stops it vanishing the instant the pointer slips off its item |
| Shows an arrow | off | Adds a small point that aims the tooltip at its item |
diff --git a/animations/04-micro-interactions/typing-indicator/README.md b/animations/04-micro-interactions/typing-indicator/README.md
index 7485b21e..04264056 100644
--- a/animations/04-micro-interactions/typing-indicator/README.md
+++ b/animations/04-micro-interactions/typing-indicator/README.md
@@ -28,8 +28,8 @@ The distances are custom properties (`--hop`, `--lift` and `--small`); under `pr
## Key parameters
| Parameter | Default | Effect |
|-----------|---------|--------|
-| How the dots move | Bounce | Bounce hops each dot 7px up and rests between rounds; fade brightens each dot and grows it from 70% to full size; wave raises and lowers the dots without a rest |
-| Speed | Normal | How long one round of the three dots takes: slow is 1.8 seconds, normal 1.2 seconds and fast 0.8 seconds |
+| How the dots move | Bounce | Bounce hops each dot 7px up and rests between rounds; fade brightens each dot and grows it from 70% to full size; wave raises and lowers the dots between 2.5px below and 5px above their place, without a rest |
+| Speed | Normal | How long one round of the three dots takes: slow is 1.8 seconds, normal 1.2 seconds and fast 0.8 seconds, each dot starting 15% of a round after the one before |
| Bubble color | Gray | The color of the other person's bubbles: gray, blue, green or purple; the dots turn light gray or white to stay clear on it |
## Production notes