Still life — all four cues
Variant: All four
Breath, blink, glance and weight shift on one figure, each on its own clock — 4.3s, 7.3s, 11.9s and 17.9s, pairwise coprime in tenths of a second — so no two cues fall back into step for minutes and the whole arrangement effectively never repeats. The cues compose because each takes a different individual transform property: the body scales to breathe, the whole figure rotates to lean, the face translates to glance and rotates to hold steady through the lean. One element carries two cues with no wrapper, and nothing overwrites anything else. This is the piece to copy when a character will sit on screen for minutes: any one cue alone is a mechanism — breath alone is a pulse, a blink alone a twitch — and it takes several on unrelated clocks before the figure reads as something that happens to be standing still. Under reduced motion only a small belly breath and a full-speed blink, with twice the gap, remain.
The source
A complete HTML document. Paste it into an empty .html file and it plays — no stylesheet, script, font, or image to fetch.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Still life — all four cues</title>
<style>
:root {
/* Neutrals — fixed, never remixed. */
--ivory: #faf9f5;
--paper: #ffffff;
--oat: #e3dacc;
--slate: #141413;
/* Knobs — the remix API. A knob exists iff declared here and used below. */
--hue: 38.8;
--lift: 0;
--chroma: 1;
--speed: 1;
/* Accents — derived from the knobs with the family's offsets baked in,
so one hue roll moves them together. Defaults reproduce the original hex. */
--clay: oklch(calc(0.6724 + var(--lift)) calc(0.1308 * var(--chroma)) var(--hue));
--clay-d: oklch(calc(0.5797 + var(--lift)) calc(0.127 * var(--chroma)) var(--hue));
--olive: oklch(
calc(0.6118 + var(--lift)) calc(0.0713 * var(--chroma)) calc(var(--hue) + 88.3)
);
--rust: oklch(
calc(0.5408 + var(--lift)) calc(0.1357 * var(--chroma)) calc(var(--hue) - 10.3)
);
/* Clock — four cues on four clocks: breath 4.3s, blink 7.3s, glance
11.9s, weight 17.9s. In tenths of a second those are pairwise coprime,
so no two cues line up again for minutes and the whole arrangement
does not recur for years. */
--cycle: 4.3s;
--t: calc(var(--cycle) / var(--speed));
--_blink: calc(7.3s / var(--speed));
--_glance: calc(11.9s / var(--speed));
--_weight: calc(17.9s / var(--speed));
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
--ease-accent: cubic-bezier(0.37, 0, 0.63, 1);
/* The exhale is a gentle decay — lungs recoil, so it is quickest at
the top — but not the library's ease-out, which empties the figure in
half a second and leaves the rest of the 2.3s looking like a pause. */
--_ease-exhale: cubic-bezier(0.33, 0.7, 0.5, 1);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
display: grid;
place-items: center;
background: var(--ivory);
font-family:
system-ui,
-apple-system,
'Segoe UI',
Roboto,
sans-serif;
color: var(--slate);
}
figure {
display: grid;
justify-items: center;
gap: clamp(6px, 2vh, 12px);
}
/* Sized off the frame's height as well as its width: the card is short and
the caption has to fit under the figure at every stage. */
svg {
display: block;
width: min(260px, 84vw, calc((100vh - 76px) * 1.4));
height: auto;
overflow: visible;
}
.perch {
fill: none;
stroke: color-mix(in oklch, var(--oat), var(--slate) 26%);
stroke-width: 4;
stroke-linecap: round;
}
.twig {
stroke-width: 2.6;
}
.tail,
.beak,
.wing {
fill: var(--clay-d);
}
.body {
fill: var(--clay);
}
.belly {
fill: color-mix(in oklch, var(--clay) 34%, var(--ivory));
}
.foot,
.lid {
fill: none;
stroke: var(--clay-d);
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.lid {
stroke-width: 2.4;
opacity: 0;
}
.white {
fill: var(--paper);
}
.pupil {
fill: var(--slate);
}
/* Every pivot is a point on the drawing rather than a box's centre: the
body grows and leans from its feet, the face counter-turns about them
too, the tail swings from where it meets the body, and the eyes close
about their own centre line. */
.fig,
.ride,
.breath,
.head {
transform-origin: 100px 125px;
}
.belly {
transform-origin: 100px 121px;
}
.tail {
transform-origin: 100px 118px;
}
.eyes {
transform-origin: 100px 80px;
}
figcaption {
display: grid;
justify-items: center;
gap: 2px;
text-align: center;
}
.cue {
font-size: clamp(13px, 3.8vw, 15px);
font-weight: 600;
letter-spacing: -0.01em;
}
.spec {
font-size: clamp(11.5px, 3.2vw, 12.5px);
font-variant-numeric: tabular-nums;
color: color-mix(in oklch, var(--slate) 58%, var(--ivory));
}
/* Each cue takes its own transform property — scale, translate, rotate —
so they compose instead of overwriting. The face translates to glance
and rotates to hold steady through a lean; the body scales to breathe
and the whole figure rotates to lean. One element carries two cues
without a wrapper, because the individual transform properties never
fight. */
.breath {
animation: inhale var(--t) infinite;
}
.belly {
animation: fill var(--t) infinite;
}
.eyes {
animation: blink var(--_blink) infinite;
}
.lid {
animation: lid var(--_blink) infinite;
}
.head {
animation:
turn var(--_glance) infinite,
level var(--_weight) infinite;
}
.pupils {
animation: look var(--_glance) infinite;
}
.beak {
animation: nose var(--_glance) infinite;
}
.fig,
.ride {
animation: lean var(--_weight) infinite;
}
.tail {
animation: trail var(--_weight) infinite;
}
@keyframes inhale {
0% {
scale: 1 1;
animation-timing-function: var(--ease-accent);
}
34.884% {
scale: 1.02 1.024;
animation-timing-function: var(--_ease-exhale);
}
88.372% {
scale: 1 1;
}
100% {
scale: 1 1;
}
}
@keyframes fill {
0% {
scale: 1;
animation-timing-function: var(--ease-accent);
}
34.884% {
scale: 1.07;
animation-timing-function: var(--_ease-exhale);
}
88.372% {
scale: 1;
}
100% {
scale: 1;
}
}
@keyframes blink {
0% {
scale: 1 1;
}
17.808% {
scale: 1 1;
animation-timing-function: linear;
}
18.795% {
scale: 1 0.04;
}
19.288% {
scale: 1 0.04;
animation-timing-function: var(--ease-out);
}
21.589% {
scale: 1 1;
}
80.822% {
scale: 1 1;
animation-timing-function: linear;
}
81.808% {
scale: 1 0.04;
}
82.301% {
scale: 1 0.04;
animation-timing-function: var(--ease-out);
}
84.603% {
scale: 1 1;
}
86.575% {
scale: 1 1;
animation-timing-function: linear;
}
87.562% {
scale: 1 0.04;
}
88.055% {
scale: 1 0.04;
animation-timing-function: var(--ease-out);
}
90.356% {
scale: 1 1;
}
100% {
scale: 1 1;
}
}
@keyframes lid {
0% {
opacity: 0;
animation-timing-function: steps(1, end);
}
18.466% {
opacity: 1;
animation-timing-function: steps(1, end);
}
19.863% {
opacity: 0;
animation-timing-function: steps(1, end);
}
81.479% {
opacity: 1;
animation-timing-function: steps(1, end);
}
82.877% {
opacity: 0;
animation-timing-function: steps(1, end);
}
87.233% {
opacity: 1;
animation-timing-function: steps(1, end);
}
88.63% {
opacity: 0;
animation-timing-function: steps(1, end);
}
100% {
opacity: 0;
}
}
@keyframes turn {
0% {
translate: 0 0;
}
21.176% {
translate: 0px 0;
animation-timing-function: var(--ease-in-out);
}
25.882% {
translate: 1.5px 0;
}
53.109% {
translate: 1.5px 0;
animation-timing-function: var(--ease-in-out);
}
57.815% {
translate: -1.5px 0;
}
81.681% {
translate: -1.5px 0;
animation-timing-function: var(--ease-in-out);
}
86.387% {
translate: 0px 0;
}
100% {
translate: 0px 0;
}
}
@keyframes look {
0% {
translate: 0 0;
}
20.168% {
translate: 0px 0;
animation-timing-function: var(--ease-out);
}
20.975% {
translate: 2.5px 0;
}
21.176% {
translate: 2.5px 0;
animation-timing-function: var(--ease-in-out);
}
25.882% {
translate: 1px 0;
}
52.101% {
translate: 1px 0;
animation-timing-function: var(--ease-out);
}
52.908% {
translate: -4px 0;
}
53.109% {
translate: -4px 0;
animation-timing-function: var(--ease-in-out);
}
57.815% {
translate: -1px 0;
}
80.672% {
translate: -1px 0;
animation-timing-function: var(--ease-out);
}
81.479% {
translate: 1.5px 0;
}
81.681% {
translate: 1.5px 0;
animation-timing-function: var(--ease-in-out);
}
86.387% {
translate: 0px 0;
}
100% {
translate: 0px 0;
}
}
@keyframes nose {
0% {
translate: 0 0;
}
21.176% {
translate: 0px 0;
animation-timing-function: var(--ease-in-out);
}
25.882% {
translate: 0.9px 0;
}
53.109% {
translate: 0.9px 0;
animation-timing-function: var(--ease-in-out);
}
57.815% {
translate: -0.9px 0;
}
81.681% {
translate: -0.9px 0;
animation-timing-function: var(--ease-in-out);
}
86.387% {
translate: 0px 0;
}
100% {
translate: 0px 0;
}
}
@keyframes lean {
0% {
rotate: 0deg;
}
16.76% {
rotate: 0deg;
animation-timing-function: var(--ease-in-out);
}
26.816% {
rotate: 3deg;
}
59.218% {
rotate: 3deg;
animation-timing-function: var(--ease-in-out);
}
70.391% {
rotate: -2.6deg;
}
83.799% {
rotate: -2.6deg;
animation-timing-function: var(--ease-in-out);
}
93.855% {
rotate: 0deg;
}
100% {
rotate: 0deg;
}
}
@keyframes level {
0% {
rotate: 0deg;
}
16.76% {
rotate: -0deg;
animation-timing-function: var(--ease-in-out);
}
26.816% {
rotate: -1.8deg;
}
59.218% {
rotate: -1.8deg;
animation-timing-function: var(--ease-in-out);
}
70.391% {
rotate: 1.56deg;
}
83.799% {
rotate: 1.56deg;
animation-timing-function: var(--ease-in-out);
}
93.855% {
rotate: 0deg;
}
100% {
rotate: 0deg;
}
}
@keyframes trail {
0% {
rotate: 0deg;
}
16.76% {
rotate: 0deg;
animation-timing-function: var(--ease-in-out);
}
21.788% {
rotate: -3deg;
animation-timing-function: var(--ease-in-out);
}
26.816% {
rotate: 1.5deg;
animation-timing-function: var(--ease-in-out);
}
29.162% {
rotate: -0.45deg;
animation-timing-function: var(--ease-in-out);
}
31.844% {
rotate: 0deg;
}
59.218% {
rotate: 0deg;
animation-timing-function: var(--ease-in-out);
}
64.804% {
rotate: 5.6deg;
animation-timing-function: var(--ease-in-out);
}
70.391% {
rotate: -2.8deg;
animation-timing-function: var(--ease-in-out);
}
72.737% {
rotate: 0.84deg;
animation-timing-function: var(--ease-in-out);
}
75.419% {
rotate: 0deg;
}
83.799% {
rotate: 0deg;
animation-timing-function: var(--ease-in-out);
}
88.827% {
rotate: -2.6deg;
animation-timing-function: var(--ease-in-out);
}
93.855% {
rotate: 1.3deg;
animation-timing-function: var(--ease-in-out);
}
96.201% {
rotate: -0.39deg;
animation-timing-function: var(--ease-in-out);
}
98.883% {
rotate: 0deg;
}
100% {
rotate: 0deg;
}
}
@media (prefers-reduced-motion: reduce) {
/* Everything that covers ground parks. What survives is a small breath
in the belly and a blink at full speed with twice the gap, which
together still keep the figure from reading as a still image. */
.breath,
.head,
.pupils,
.beak,
.fig,
.ride,
.tail {
animation: none;
}
.eyes {
animation: blink-still calc(var(--_blink) * 2) infinite;
}
.lid {
animation: lid-still calc(var(--_blink) * 2) infinite;
}
.belly {
animation: fill-still calc(var(--t) * 1.5) var(--ease-accent) infinite alternate;
}
@keyframes fill-still {
from {
scale: 1;
}
to {
scale: 1.025;
}
}
@keyframes blink-still {
0% {
scale: 1 1;
}
17.808% {
scale: 1 1;
animation-timing-function: linear;
}
18.301% {
scale: 1 0.04;
}
18.548% {
scale: 1 0.04;
animation-timing-function: var(--ease-out);
}
19.699% {
scale: 1 1;
}
80.822% {
scale: 1 1;
animation-timing-function: linear;
}
81.315% {
scale: 1 0.04;
}
81.562% {
scale: 1 0.04;
animation-timing-function: var(--ease-out);
}
82.712% {
scale: 1 1;
}
83.699% {
scale: 1 1;
animation-timing-function: linear;
}
84.192% {
scale: 1 0.04;
}
84.438% {
scale: 1 0.04;
animation-timing-function: var(--ease-out);
}
85.589% {
scale: 1 1;
}
100% {
scale: 1 1;
}
}
@keyframes lid-still {
0% {
opacity: 0;
animation-timing-function: steps(1, end);
}
18.137% {
opacity: 1;
animation-timing-function: steps(1, end);
}
18.836% {
opacity: 0;
animation-timing-function: steps(1, end);
}
81.151% {
opacity: 1;
animation-timing-function: steps(1, end);
}
81.849% {
opacity: 0;
animation-timing-function: steps(1, end);
}
84.027% {
opacity: 1;
animation-timing-function: steps(1, end);
}
84.726% {
opacity: 0;
animation-timing-function: steps(1, end);
}
100% {
opacity: 0;
}
}
}
</style>
</head>
<body>
<figure
role="img"
aria-label="A small round bird on a perch that breathes, blinks, glances around and shifts its weight, each on its own unhurried clock"
>
<svg viewBox="30 46 140 104" aria-hidden="true">
<g class="ride"><path class="tail" d="M94 116 L90 140 L100 135.5 L110 140 L106 116 Z" /></g>
<path class="perch" d="M36 126 Q100 130 164 126" />
<path class="perch twig" d="M146 127 L154 119.5" />
<g class="fig">
<path
class="foot"
d="M94 121 V126.5 M106 121 V126.5 M90.5 128 Q93 124.5 96.5 127 M102.5 128 Q105 124.5 108.5 127"
/>
<g class="breath">
<ellipse class="body" cx="100" cy="91.5" rx="30" ry="33.5" />
<ellipse class="belly" cx="100" cy="110" rx="17" ry="11" />
<path
class="wing"
d="M72.5 88 Q67 106 85 121 Q76 104 72.5 88 Z M127.5 88 Q133 106 115 121 Q124 104 127.5 88 Z"
/>
<g class="head">
<path class="beak" d="M96 89 H104 L100 95.5 Z" />
<g class="eyes">
<circle class="white" cx="89" cy="80" r="8.5" />
<circle class="white" cx="111" cy="80" r="8.5" />
<g class="pupils">
<circle class="pupil" cx="89" cy="80" r="3.4" />
<circle class="pupil" cx="111" cy="80" r="3.4" />
</g>
</g>
<path class="lid" d="M80.5 80 Q89 81 97.5 80 M102.5 80 Q111 81 119.5 80" />
</g>
</g>
</g>
</svg>
<figcaption>
<span class="cue">All four</span>
<span class="spec">breath 4.3s · blink 7.3s · glance 11.9s · weight 17.9s</span>
</figcaption>
</figure>
</body>
</html>
The variant family
Same idea, one axis moved. Compare them side by side before you commit.