Reduced motion forced by this page: off.
03Moving
What does a more expressive curve actually do on your screen?
The experiment: Motion compareopen it on its own page
CSS transition
transition: transform 700ms ease. The browser runs the curve.
- Frames
- not measured yet
- Avg frame
- not measured yet
- Worst frame
- not measured yet
- Overshoots
- not measured yet
- Settled at
- not measured yet
Linear rAF tween
requestAnimationFrame, position = distance x elapsed / 700 ms.
- Frames
- not measured yet
- Avg frame
- not measured yet
- Worst frame
- not measured yet
- Overshoots
- not measured yet
- Settled at
- not measured yet
Spring physics
Damped spring integrated each frame (the library's approach). No fixed duration.
- Frames
- not measured yet
- Avg frame
- not measured yet
- Worst frame
- not measured yet
- Overshoots
- not measured yet
- Settled at
- not measured yet
Every number is read in this browser during the run, from the dot's rendered position in each requestAnimationFrame. Frame gaps follow your display refresh and whatever else the page is doing, so they say little about the cost of each approach in isolation. Run it a few times; the values move.
Why this effect exists
Overshoot and settle make movement feel physical, but they also add travel and time. Instead of arguing about it, the same dot moves the same distance three ways.
Each run reads the dot's rendered position every animation frame, so the difference shows up as numbers from your own browser.
Keyboard and accessibility
- Tabreaches “Run all three” and each row's own Run button.
- EnterSpacestarts a run. A press while one is running is ignored.
Reduced motion: all three dots snap to the end with no animation, and the table says “snapped” rather than showing numbers. Each finished run is announced through a polite live region.
Evidence
- CSS transition
- not measured yet
- Linear rAF tween
- not measured yet
- Spring physics
- not measured yet
- Runs completed this visit
- 0
- Reduced-motion mode
- off
Last completed run for each approach. Frame gaps come from requestAnimationFrame timestamps, so they reflect your display and how busy this page is, not the isolated cost of each approach. Run it a few times; the numbers move.
04Loading
Should an interface behave differently at 80 milliseconds than at 4 seconds?
The experiment: Latency adaptopen it on its own page
Nothing loaded yet.
State
- idle
- waiting
- skeleton
- slow
- success
- error
- cancelled
Legal from here: START
Event log
Nothing yet. Press Load.
Timestamps are measured with performance.now() from the moment you press Load. Timer callbacks can run a little late if the page is busy.
Why this effect exists
A skeleton that flashes for 80 ms is noise, and a bare spinner at 4 s is a shrug. This region shows nothing new for the first 150 ms, then a skeleton, and past 2 s it says how long it has been and offers Cancel.
The expressive part is that the interface changes with the wait, rather than treating every wait the same.
Keyboard and accessibility
- Tabreaches Load / Reload, and Cancel, Retry or Try again when they appear.
- EnterSpaceactivates the focused button. Load is ignored while a request is out.
- ←→on the latency slider changes the next request; radios use the arrows too.
Reduced motion: the skeleton is still (no shimmer) and the loaded content appears without a fade. A polite live region says Loading, Still loading, Loaded or Cancelled; failures use role=alert.
Evidence
- Phases defined
- 7, with 16 legal transitions
- Requests started this visit
- 0
- Phase right now
- idle (no request yet)
- Skeleton (last request)
- not measured yet
- “Taking longer” message and Cancel
- not measured yet
- Ended
- not measured yet
- Reduced-motion mode
- off
Read from the state machine's own events for the most recent request, timed with performance.now(). Timers can fire late if the page is busy. Set the latency under 150 ms, then over 2 s, to see both paths.
What this page does not claim
- It does not show these are more usable than the plain alternatives. There was no user study.
- Measured numbers come from your browser, display and current load. They vary between runs and machines.
- The live regions are present and update, but the announcements have not been tried with a screen reader.
- The reduced-motion switch changes what these four experiments do. It does not change anything else on the site.