TransitionsPremium

Orchestrated Motion

Eight bars that stretch and settle one after the other, each a tenth of a second after its neighbor: a pulse crossing the row in a 1.5 s loop, with no bar ever leaving its place. Pure CSS, 1.3 KB, zero JavaScript.

CSSKeyframesOrchestrated

Updated

This effect is part of Effect.Labs — 846 vanilla effects, some free, some premium. Transitions has 52 effects, including 9 free. Explore the category →

3 usage examples

Water jets dancing under the headline — page of a fountain show in a park — Orchestrated Motion example 1

① Water jets dancing under the headline — page of a fountain show in a park

WhenOn the Water Nights page, eleven lit jets rise and fall above the great basin, one after the other, under the title and the show time. The visitor sees the ballet before reading a line.
WhyThe decoration shows the product: columns rising in turn is exactly what the audience comes to see. And since nothing moves in the page, the title and the button stay steady above.
SettingsEleven 18 × 176 px .orch-bar elements, anchored at the bottom with transform-origin: 50% 100% to spring from the basin instead of stretching both ways. Loop slowed to 2.4 s, 0.2 s delay per jet, three gradients alternated with :nth-child. The row carries aria-hidden="true". No script.
Bar chart waiting during a refresh — passages on a greenway, a county's dashboard — Orchestrated Motion example 2

② Bar chart waiting during a refresh — passages on a greenway, a county's dashboard

WhenThe officer in the mobility department clicks "Refresh". The chart's seven bars lose their color and start to ripple from left to right while the counters are read; when the figures arrive, each settles at its new height and Sunday goes from 1,284 to 1,312.
WhyThe wait sits where the result will appear, with no spinner laid on top: the chart changes neither size nor place, it breathes until it is up to date.
SettingsSeven 26 × 160 px .orch-bar elements, anchored at the bottom, spread across the card. Outside a refresh, the scene stops the animation (animation-name: none) and sets each height with transform: scaleY(); during the wait it removes both settings and the effect resumes with its delays. In the capture, the real mouse click lands on the button; the server's answer is simulated by a 1.7 s timer.
Calls in progress at the switchboard — a lift breakdown service — Orchestrated Motion example 3

③ Calls in progress at the switchboard — a lift breakdown service

WhenFriday night, five desks at the switchboard. Three are on a call: at the end of their row, next to the timer, five small green bars beat. The other two desks, available and on break, have none. The duty manager sees at a glance who is talking.
WhyA green dot would say "connected"; beating bars say "a conversation is under way", and the eye spots them in a list without reading the labels.
SettingsFive 4 × 22 px .orch-bar elements, 3 px apart, in plain green, only on rows with a call. Each row starts at a different point of the loop thanks to negative delays (from −0.6 s and −1.1 s): the three indicators do not beat in unison. No script; the timer and labels belong to the scene.

How it works

The .orch-bars row lines up eight .orch-bar elements of 12 × 80 px, 12 px apart, that is 180 px wide. Each bar plays the same animation, orchBounce: it goes from 25% to 100% of its height and back, through transform: scaleY(), in 1.5 s and on a loop. Since the stretch starts from the middle, the bar pushes up as much as down: 20 px at its shortest, 80 px at its longest, always centered on the same line.

What makes the wave is the delay. Each bar carries in its style attribute an animation-delay 0.1 s longer than the previous one: the second reaches its peak a tenth of a second after the first, and so on. So the crest takes 0.7 s to cross the eight bars, then starts again from the left. On the first pass, bars wait for their turn at 25%, the animation's starting value: none of them jumps.

Nothing is moved or resized in the page: the row takes 80 px of height from start to finish (same height read at every instant), and the browser only has transforms to compose. There is no script, no trigger, no state: the effect runs as soon as it is displayed and only stops if you remove it or pause it in CSS.

Accessibility

  • Reduced motion: the bars no longer stretch. They freeze at half height (40 px) and the wave turns to light, each bar going down to 30% opacity then back up, with the same delays: you still see that something is in progress.
  • Screen readers: the demo has no text and no role, it is silent. If it decorates, add aria-hidden="true" on .orch-root. If it means "please wait", put a text next to it in a role="status" element: bars alone say nothing to someone who cannot see them.
  • Endless loop: nothing stops it. For a wait of a few seconds that is harmless; as permanent decoration on a page, WCAG criterion 2.2.2 asks for a way to pause it (see Customize).
  • Keyboard and touch: no focusable element, no interaction. The effect catches neither click nor finger.

Browser compatibility

CSS only: @keyframes, transform, flexbox with gap, prefers-reduced-motion. Same stretch, same delays and same opacity fallback recorded in Chromium 149, Firefox 151 and WebKit 26.5, two copies on one page included. Unprefixed animations date back to Chrome 43, Firefox 16 and Safari 9; the spacing between bars, gap in a flex box, is what needs Chrome 84, Firefox 63 and Safari 14.1. In an older browser the wave plays but the bars touch and form one block.

Chrome 84+✓ Full (measured in Chromium 149)
Firefox 63+✓ Full (measured in Firefox 151)
Safari 14.1+✓ Full (measured in WebKit 26.5)
Edge 84+✓ Full (Chromium engine)
Mobile iOS 14.5+✓ Not checked on a device
Android Chrome 84+✓ Full (same engine, no interaction to test)

Without CSS animation support, the eight bars stay displayed at 25% of their height: a fixed pattern, with no hole in the page. To replace gap, give the bars a horizontal margin.

The code

HTML structure to paste into your page (the CSS + JS come with your purchase):

index.html — structure
<div class="orch-root">
  <div class="orch-bars">
    <div class="orch-bar" style="animation-delay: 0s;"></div>
    <div class="orch-bar" style="animation-delay: 0.1s;"></div>
    <div class="orch-bar" style="animation-delay: 0.2s;"></div>
    <div class="orch-bar" style="animation-delay: 0.3s;"></div>
    <div class="orch-bar" style="animation-delay: 0.4s;"></div>
    <div class="orch-bar" style="animation-delay: 0.5s;"></div>
    <div class="orch-bar" style="animation-delay: 0.6s;"></div>
    <div class="orch-bar" style="animation-delay: 0.7s;"></div>
  </div>
</div>

One-time payment, no subscription — the code is yours forever

Customize

Options passed to the API or data-* attributes:

Option / propertyDefaultEffect
Stretch anchor (CSS — transform-origin on .orch-bar) center of the bar 50% 100% makes the bars grow from their base: a bar chart, jets, a level. 50% 0 makes them hang like stalactites.
Delay step (HTML — animation-delay in each bar's style) 0.1 s more per bar This is the wave's speed. 0.05 s: the bars move almost together; 0.2 s: the crest takes its time. Negative values start the loop partway through.
Loop duration (CSS — animation: orchBounce 1.5s) 1.5 s 1 s for a nervous wait, 2.4 s for calm decoration. Keep the total delay (step × number of bars) under the duration, or two crests follow each other in the row.
Amplitude (CSS — scaleY(.25) in @keyframes orchBounce and on .orch-bar) from 25% to 100% Change both values together: the one on .orch-bar is the waiting height before the first pass. .6 gives a quiver, .1 bars that almost flatten.
Number of bars (HTML — one <div class="orch-bar"> per bar) 8 From 3 for a pictogram to about twenty for a frieze; write the delay of each bar you add.
Pause (CSS — animation-play-state on .orch-bar) running paused freezes each bar where it is, running restarts it from the same point. Hook it to a class to offer a pause button.

FAQ

Kinetic Wave moves twenty small dots: each rises 30 px and comes back down, which draws a thin rippling line. Orchestrated Motion moves nothing: eight thick bars change height in place. The result reads as a level or a pulse rather than a wave, it fits in a fixed 80 px footprint with no room needed above, and its loop is shorter (1.5 s against 2 s). Kinetic Wave for a light wait inside a line of text, Orchestrated Motion when the bars must carry weight: chart, level, decoration.
Because they start at the same instant: every row present when the page opens launches its animation together and, with the same delays and the same duration, they stay on the same frame forever. Only a row inserted later starts from zero when it appears. That is welcome for a repeated pattern, awkward for three neighboring indicators. Offset them with negative delays: a row whose bars carry -0.6s, -0.5s, -0.4s… starts as if it had already been running for 0.6 s. This is the setting used in the switchboard example.
Yes, without touching the animation: it stretches each bar up to 100% of its own height. Give different heights in CSS (.orch-bar:nth-child(3) { height: 50px }) and keep align-items: center, or flex-end with a bottom anchor to set them on one line. To freeze exact values, as in the bar chart example, cut the animation (animation-name: none) and set transform: scaleY() bar by bar.