Fly — S-curve profile
Variant: S-curve
The same trip with the corners taken out: 96px in 1.2s at the same 120px/s top speed, but the acceleration ramps on and off over 160ms instead of stepping. That ramp is exactly one period of the rope, which is the trick riggers and motion-control engineers share — a ramp lasting a whole period of the thing being carried leaves it nothing to ring at. The counter-intuitive part is on the card: peak acceleration is 1.67× the trapezoid’s, so the cloth sinks as far into its lines in flight — it even dips past trim just before the pipe arrives — yet once the pipe stops it swings 0.6px, stamped in olive where the trapezoid stamps 4.6 in rust. Smooth is not the same as gentle; what rings a load is jerk, not acceleration. Seven segments, each an exact cubic-bezier, with the rope simulated exactly as in the trapezoid so the two cards differ in one variable. Reach for this profile whenever the moving thing carries something that springs, and whenever the brief is the same duration, only calmer.
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>Fly — S-curve profile</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;
--round: 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 — every duration in the document runs off --t. */
--cycle: 4s;
--t: calc(var(--cycle) / var(--speed));
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
/* Only the reduced-motion breathing uses it. */
--_breathe: cubic-bezier(0.45, 0, 0.55, 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);
}
.stage {
display: grid;
gap: 10px;
width: 240px;
}
.cap {
font-size: 11px;
text-wrap: balance;
letter-spacing: 0.04em;
color: color-mix(in srgb, var(--slate) 52%, transparent);
}
.scene {
position: relative;
width: 240px;
height: 132px;
overflow: hidden;
}
/* The masking border across the top of the opening: everything flown
out is parked behind it, so the loop never needs a blackout. */
.border {
position: absolute;
inset: 0 0 auto;
height: 16px;
background: var(--oat);
z-index: 2;
}
.deck {
position: absolute;
left: 0;
right: 0;
top: 124px;
height: 2px;
background: var(--oat);
}
/* Batten travel and rope stretch, in px. Two registered numbers drive
every moving part, so the pipe, the lines and the cloth cannot
disagree on any frame. */
@property --_y {
syntax: '<number>';
inherits: true;
initial-value: -96;
}
@property --_r {
syntax: '<number>';
inherits: true;
initial-value: 0;
}
.rig {
position: absolute;
inset: 0;
animation:
travel var(--t) infinite,
rope var(--t) infinite;
}
.set {
position: absolute;
left: 0;
top: 40px;
width: 240px;
transform: translateY(calc(var(--_y) * 1px));
}
/* Lift lines run up into the loft, past the top of the frame. */
.lift {
position: absolute;
bottom: 100%;
width: 1px;
height: 220px;
background: color-mix(in srgb, var(--slate) 26%, transparent);
}
.lift.l {
left: 62px;
}
.lift.r {
left: 177px;
}
.batten {
position: absolute;
left: 42px;
top: 0;
width: 156px;
height: 4px;
border-radius: 999px;
background: color-mix(in srgb, var(--slate) 72%, transparent);
}
/* The pickups are the spring. Rest length 20px; they lengthen by
exactly what the cloth sinks, so stretch is drawn, not implied. */
.pick {
position: absolute;
top: 4px;
width: 1.5px;
height: 20px;
background: color-mix(in srgb, var(--slate) 46%, transparent);
transform-origin: top;
transform: scaleY(calc(1 + var(--_r) / 20));
}
.pick.l {
left: 61.75px;
}
.pick.r {
left: 176.75px;
}
.drop {
position: absolute;
left: 54px;
top: 24px;
width: 132px;
height: 44px;
overflow: hidden;
background: var(--paper);
border: 1.5px solid var(--oat);
border-bottom: 2px solid var(--clay-d);
border-radius: calc(2px * var(--round)) calc(2px * var(--round)) 0 0;
transform: translateY(calc(var(--_r) * 1px));
}
.drop::before {
content: '';
position: absolute;
inset: auto 0 0;
height: 42%;
background: color-mix(in srgb, var(--clay) 16%, transparent);
}
/* Trim: where the hem belongs. The rule runs past both edges of the
cloth so every crossing of it stays visible. */
.trim {
position: absolute;
left: 34px;
top: 107px;
width: 172px;
height: 1.5px;
background: repeating-linear-gradient(
to right,
color-mix(in srgb, var(--slate) 34%, transparent) 0 3px,
transparent 3px 6px
);
}
.spike {
position: absolute;
left: 208px;
top: 106px;
width: 6px;
height: 3px;
border-radius: 1px;
background: var(--clay);
}
.tag {
position: absolute;
font-size: 11px;
line-height: 1;
color: color-mix(in srgb, var(--slate) 58%, transparent);
}
.tag.trim-tag {
left: 217px;
top: 102px;
}
.trace {
position: relative;
display: grid;
gap: 4px;
}
.tag.axis-tag {
position: static;
}
.trace-head {
display: flex;
justify-content: space-between;
}
.trace svg {
display: block;
width: 240px;
height: 28px;
overflow: visible;
}
.axis {
stroke: var(--oat);
stroke-width: 1;
}
.curve {
fill: none;
stroke: color-mix(in srgb, var(--slate) 62%, transparent);
stroke-width: 1.25;
stroke-linejoin: round;
}
/* A linear playhead, because x is wall time and this is a clock. */
.head {
position: absolute;
left: 0;
bottom: 0;
width: 1.5px;
height: 28px;
background: var(--clay);
animation: sweep var(--t) linear infinite;
}
@keyframes sweep {
from {
transform: translateX(0);
}
to {
transform: translateX(240px);
}
}
/* The verdict, read after the pipe has stopped: a tick at the hem's
largest swing past trim, dropped in on the frame it happens, and
the same number beside the trace. Both stay until the line flies. */
.ring {
position: absolute;
left: 36px;
top: 106.13px;
width: 12px;
height: 2px;
border-radius: 1px;
background: var(--olive);
transform-origin: right;
animation: ring var(--t) infinite;
}
.tag.ring-tag {
position: static;
color: var(--olive);
font-variant-numeric: tabular-nums;
animation: ring-tag var(--t) infinite;
}
@keyframes ring {
0%,
35.01% {
opacity: 0;
transform: scaleX(0.4);
}
35.035% {
opacity: 1;
transform: scaleX(0.4);
animation-timing-function: var(--ease-out);
}
39.035%,
60% {
opacity: 1;
transform: scaleX(1);
animation-timing-function: var(--ease-out);
}
65%,
100% {
opacity: 0;
transform: scaleX(1);
}
}
@keyframes ring-tag {
0%,
35.035% {
opacity: 0;
animation-timing-function: var(--ease-out);
}
39.035%,
60% {
opacity: 1;
animation-timing-function: var(--ease-out);
}
65%,
100% {
opacity: 0;
}
}
/* Seven-segment jerk-limited profile with the same trip, the same
1.2s and the same top speed as the trapezoid: acceleration ramps up
over 160ms, holds 80ms, ramps down over 160ms. Each ramp lasts
exactly one period of the rope, which is what leaves nothing to
ring. Position is a cubic in time on every segment, so each one is
an exact cubic-bezier with x at thirds. */
@keyframes travel {
0% {
--_y: -96;
}
4% {
--_y: -96;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 0);
}
8% {
--_y: -93.87;
animation-timing-function: cubic-bezier(0.333, 0.222, 0.667, 0.556);
}
10% {
--_y: -89.07;
animation-timing-function: cubic-bezier(0.333, 0.25, 0.667, 0.625);
}
14% {
--_y: -72;
animation-timing-function: linear;
}
24% {
--_y: -24;
animation-timing-function: cubic-bezier(0.333, 0.375, 0.667, 0.75);
}
28% {
--_y: -6.93;
animation-timing-function: cubic-bezier(0.333, 0.444, 0.667, 0.778);
}
30% {
--_y: -2.13;
animation-timing-function: cubic-bezier(0.333, 1, 0.667, 1);
}
34% {
--_y: 0;
}
60% {
--_y: 0;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 0);
}
64% {
--_y: -2.13;
animation-timing-function: cubic-bezier(0.333, 0.222, 0.667, 0.556);
}
66% {
--_y: -6.93;
animation-timing-function: cubic-bezier(0.333, 0.25, 0.667, 0.625);
}
70% {
--_y: -24;
animation-timing-function: linear;
}
80% {
--_y: -72;
animation-timing-function: cubic-bezier(0.333, 0.375, 0.667, 0.75);
}
84% {
--_y: -89.07;
animation-timing-function: cubic-bezier(0.333, 0.444, 0.667, 0.778);
}
86% {
--_y: -93.87;
animation-timing-function: cubic-bezier(0.333, 1, 0.667, 1);
}
90% {
--_y: -96;
}
100% {
--_y: -96;
}
}
/* The rope: a damped spring (160ms period, ζ 0.08) driven by the
pipe's acceleration, simulated and keyed at its turning points and
at every change of segment. Each span is the cubic through the
sim's position and velocity at both ends, so it tracks within
0.15px; ring tails under 0.3px are landed on zero. */
@keyframes rope {
0% {
--_r: 0;
}
4% {
--_r: 0;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 0.101);
}
5% {
--_r: -0.71;
animation-timing-function: cubic-bezier(0.333, 0.21, 0.667, 0.597);
}
6% {
--_r: -3.78;
animation-timing-function: cubic-bezier(0.333, 0.391, 0.667, 0.766);
}
7% {
--_r: -6.94;
animation-timing-function: cubic-bezier(0.333, 0.557, 0.667, 0.793);
}
8% {
--_r: -8.27;
animation-timing-function: cubic-bezier(0.333, 0.539, 0.667, 1);
}
9.035% {
--_r: -8.79;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 0.489);
}
10% {
--_r: -8.39;
animation-timing-function: cubic-bezier(0.333, 0.19, 0.667, 0.42);
}
11% {
--_r: -7.26;
animation-timing-function: cubic-bezier(0.333, 0.237, 0.667, 0.613);
}
12% {
--_r: -4.51;
animation-timing-function: cubic-bezier(0.333, 0.486, 0.667, 0.816);
}
14% {
--_r: -0.11;
animation-timing-function: cubic-bezier(0.333, 0.537, 0.667, 1);
}
15.041% {
--_r: 0.68;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
17.047% {
--_r: -0.53;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
19.054% {
--_r: 0.41;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
21.06% {
--_r: -0.32;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
23.067% {
--_r: 0;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1.046);
}
23.3% {
--_r: 0.23;
animation-timing-function: linear;
}
23.533% {
--_r: 0.19;
animation-timing-function: cubic-bezier(0.333, 0.264, 0.667, 0.63);
}
24% {
--_r: 0.04;
animation-timing-function: linear;
}
24.351% {
--_r: 0;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 0.265);
}
25.263% {
--_r: 1.14;
animation-timing-function: cubic-bezier(0.333, 0.252, 0.667, 0.64);
}
26.176% {
--_r: 4.44;
animation-timing-function: cubic-bezier(0.333, 0.419, 0.667, 0.783);
}
27.088% {
--_r: 7.27;
animation-timing-function: cubic-bezier(0.333, 0.602, 0.667, 0.816);
}
28% {
--_r: 8.29;
animation-timing-function: cubic-bezier(0.333, 0.544, 0.667, 1);
}
29.018% {
--_r: 8.68;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 0.494);
}
30% {
--_r: 8.37;
animation-timing-function: cubic-bezier(0.333, 0.158, 0.667, 0.363);
}
31% {
--_r: 7.35;
animation-timing-function: cubic-bezier(0.333, 0.229, 0.667, 0.607);
}
32% {
--_r: 4.52;
animation-timing-function: cubic-bezier(0.333, 0.38, 0.667, 0.748);
}
33% {
--_r: 1.6;
animation-timing-function: cubic-bezier(0.333, 0.486, 0.667, 0.754);
}
34% {
--_r: 0.09;
animation-timing-function: cubic-bezier(0.333, 0.539, 0.667, 1);
}
35.035% {
--_r: -0.62;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
37.042% {
--_r: 0.48;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
39.048% {
--_r: -0.38;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
41.055% {
--_r: 0;
}
59.112% {
--_r: 0;
animation-timing-function: linear;
}
60% {
--_r: -0.01;
animation-timing-function: cubic-bezier(0.333, 0.019, 0.667, 0.134);
}
61% {
--_r: 0.74;
animation-timing-function: cubic-bezier(0.333, 0.211, 0.667, 0.599);
}
62% {
--_r: 3.79;
animation-timing-function: cubic-bezier(0.333, 0.39, 0.667, 0.765);
}
63% {
--_r: 6.92;
animation-timing-function: cubic-bezier(0.333, 0.55, 0.667, 0.789);
}
64% {
--_r: 8.26;
animation-timing-function: cubic-bezier(0.333, 0.538, 0.667, 1);
}
65.038% {
--_r: 8.81;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 0.488);
}
66% {
--_r: 8.39;
animation-timing-function: cubic-bezier(0.333, 0.193, 0.667, 0.426);
}
67% {
--_r: 7.25;
animation-timing-function: cubic-bezier(0.333, 0.239, 0.667, 0.613);
}
68% {
--_r: 4.5;
animation-timing-function: cubic-bezier(0.333, 0.484, 0.667, 0.814);
}
70% {
--_r: 0.11;
animation-timing-function: cubic-bezier(0.333, 0.537, 0.667, 1);
}
71.042% {
--_r: -0.68;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
73.049% {
--_r: 0.53;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
75.055% {
--_r: -0.41;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
77.061% {
--_r: 0.32;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
79.067% {
--_r: 0;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1.045);
}
79.301% {
--_r: -0.23;
animation-timing-function: linear;
}
79.534% {
--_r: -0.19;
animation-timing-function: cubic-bezier(0.333, 0.264, 0.667, 0.629);
}
80% {
--_r: -0.04;
animation-timing-function: linear;
}
80.352% {
--_r: 0;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 0.266);
}
81.264% {
--_r: -1.14;
animation-timing-function: cubic-bezier(0.333, 0.253, 0.667, 0.64);
}
82.176% {
--_r: -4.44;
animation-timing-function: cubic-bezier(0.333, 0.419, 0.667, 0.783);
}
83.088% {
--_r: -7.27;
animation-timing-function: cubic-bezier(0.333, 0.602, 0.667, 0.816);
}
84% {
--_r: -8.29;
animation-timing-function: cubic-bezier(0.333, 0.544, 0.667, 1);
}
85.017% {
--_r: -8.68;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 0.494);
}
86% {
--_r: -8.37;
animation-timing-function: cubic-bezier(0.333, 0.157, 0.667, 0.362);
}
87% {
--_r: -7.35;
animation-timing-function: cubic-bezier(0.333, 0.229, 0.667, 0.607);
}
88% {
--_r: -4.52;
animation-timing-function: cubic-bezier(0.333, 0.38, 0.667, 0.748);
}
89% {
--_r: -1.6;
animation-timing-function: cubic-bezier(0.333, 0.486, 0.667, 0.754);
}
90% {
--_r: -0.09;
animation-timing-function: cubic-bezier(0.333, 0.539, 0.667, 1);
}
91.035% {
--_r: 0.62;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
93.042% {
--_r: -0.48;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
95.048% {
--_r: 0.38;
animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
}
97.054% {
--_r: 0;
}
100% {
--_r: 0;
}
}
@media (prefers-reduced-motion: reduce) {
/* Travel and bob are the vestibular part and both go: the cloth
hangs at trim, the playhead stops, and the verdict stays on the
card — the ring tick and its number, breathing, so the argument
survives without anything moving. */
.rig,
.head {
animation: none;
}
.rig {
--_y: 0;
--_r: 0;
}
.head {
opacity: 0;
}
.ring,
.tag.ring-tag {
animation: rest-cue calc(var(--t) * 0.6) var(--_breathe) infinite alternate;
}
@keyframes rest-cue {
from {
opacity: 0.45;
transform: none;
}
to {
opacity: 1;
transform: none;
}
}
}
</style>
</head>
<body>
<div
class="stage"
role="img"
aria-label="The same theatre drop flown in on a jerk-limited winch profile: the cloth sinks into its lines while the pipe slows, recovers as it arrives, and lands on its trim mark without bobbing, then flies out the same way"
>
<p class="cap">s-curve · same trip, same top speed, the acceleration ramps</p>
<div class="scene">
<span class="deck"></span>
<span class="trim"></span>
<span class="spike"></span>
<span class="tag trim-tag">trim</span>
<span class="ring"></span>
<div class="rig">
<div class="set">
<span class="lift l"></span>
<span class="lift r"></span>
<span class="batten"></span>
<span class="pick l"></span>
<span class="pick r"></span>
<div class="drop"></div>
</div>
</div>
<span class="border"></span>
</div>
<div class="trace">
<div class="trace-head">
<span class="tag axis-tag">batten acceleration</span
><span class="tag ring-tag">rings 0.6px after stop</span>
</div>
<svg viewBox="0 0 240 28" aria-hidden="true">
<line class="axis" x1="0" y1="14" x2="240" y2="14" />
<path
class="curve"
d="M0 14 L9.6 14 L19.2 4 L24 4 L33.6 14 L57.6 14 L67.2 24 L72 24 L81.6 14 L144 14 L153.6 24 L158.4 24 L168 14 L192 14 L201.6 4 L206.4 4 L216 14 L240 14"
/>
</svg>
<span class="head"></span>
</div>
</div>
</body>
</html>
The variant family
Same idea, one axis moved. Compare them side by side before you commit.