Text shimmer
A label with light passing over it while the agent works: a sweep, a calm band, a pulse or an ASCII scan; it stops when the run ends and dims when it stalls.
Every animation in Oxyn reads its timing from one token file, tokens/oxyn.motion.json, so web and desktop move the same way. Everything here respects reduced motion: the OS setting, or the switch in the footer.
Text and number motion, driven by a shared clock.
A label with light passing over it while the agent works: a sweep, a calm band, a pulse or an ASCII scan; it stops when the run ends and dims when it stalls.
The verb that says what the agent is doing, rotating through a verb pack while it works and settling into the past tense when it finishes.
Streamed text arriving: tokens fade in, words un-blur, a typewriter or instant, with a bar, block or underscore caret that leaves when the stream ends.
Numbers that roll digit by digit like an odometer, or count up through the values in between; new columns slide in.
Fourteen text-glyph loaders (braille, sand, blocks, scanner…) that settle into a check, a warning or a cross when the agent finishes, waits or fails. One table each, phase-locked to a shared clock.
| Token | Value | Used for |
|---|---|---|
dur.instant | 80 ms | press-down, reduced-motion crossfade |
dur.fast | 120 ms | hover, colour, small fades |
dur.base | 180 ms | morphs, chip enter, popovers |
dur.travel | 240 ms | element moving between two resting places |
dur.pulse | 400 ms | single attention pulse, completion pass, ring |
dur.beat | 600 ms | hold of a ✓ / tint before it fades |
| Token | Value | Notes |
|---|---|---|
ease.out | cubic-bezier(0.22, 1, 0.36, 1) | enters, responses to input, fades in, rolls |
ease.in | cubic-bezier(0.4, 0, 1, 1) | system-initiated exits, fly-up, collapse |
ease.in-out | cubic-bezier(0.65, 0, 0.35, 1) | travel between two resting places, crossfades of equals, one-shot passes |
ease.firm | cubic-bezier(0.2, 0, 0, 1) | interrupt / barge-in / come-to-rest, no overshoot |
ease.linear | cubic-bezier(0, 0, 1, 1) | constant-speed sweeps, fills that represent time (arming, hold), OKLab colour ramps |
ease.sine | cubic-bezier(0.37, 0, 0.63, 1) | breathe loops (half-cycle, alternate) |
ease.coast | cubic-bezier(0.25, 0, 0.75, 1) | shimmer band travel |
| Token | Value | Notes |
|---|---|---|
spring.snap | 214 ms | morphs, reflow, heights, highlight glides, presses — $value is the nominal (t95) duration for tools without spring support |
spring.soft | 212 ms | expressive fans, voice-mode morph, pops, drag snaps — $value is the nominal (t95) duration for tools without spring support |
spring.follow | 362 ms | slow value followers: context meter arc, level-driven bars (progress follows that must lag ≤ 250 ms stay on spring.snap) — $value is the nominal (t95) duration for tools without spring support |
spring.calm | 436 ms | ambient energy (orb energy, loader tempo-linked scalars) — $value is the nominal (t95) duration for tools without spring support |