Skip to content
Motion & InteractionHeraclestool

Easing Comparator

Six curves, one scrubbable timeline — see the same motion under different laws instead of arguing about feel.

Built here · no external address

Heracles: Foundational labour. Difficult, necessary technique.

Exhibit case

The study, running. Replay it or drag the timeline by hand.

Arming the exhibit…

Why it matters

Easing debates are usually taste. A comparator makes them measurement: the same scrubber, six functions, a plotted path.

Key techniques

  • Shared useTimeline state driving every curve.
  • SVG polyline sampled from the active function.
  • Roving tabindex across curve chips.

What to steal

The transferable part.

One t, many interpreters. Keep progress in one place; swap only the mapping.

What not to copy

Context-specific or costly.

Do not ship six competing easings in production UI. Pick one house curve and cite it.

Inclusion rationale

The chamber instrument for Hermes — motion that teaches itself.

Technical register

Performance

SVG path rebuilds only when the curve identity changes, not every frame.

Mobile

Range input and large chips; no hover-only affordances.

Accessibility

Reduced motion jumps to t=1. Curve list is a listbox with aria-selected.