Wave, Bounce & Tilt Letters
A word whose letters wave, bounce or tilt in a staggered loop; sliders set amplitude and speed.
AI prompt
Kinetic typography loop, 3 seconds, the word "MOTION" in heavy geometric sans-serif black letters on warm off-white, each letter rising and falling in a smooth sine wave with a 90 millisecond delay between neighbours, amplitude about 12 percent of letter height, seamless loop, flat colour, no blur, crisp edges, centred. Style variants: bounce (each letter squashes on landing and stretches on the way up), tilt (each letter rocks plus and minus 12 degrees in sequence). Keep spelling exact. Negative: random letter order, jitter, glow, shadows, motion blur, extra words.About this pattern
Definition
Per-letter animation moves each character on its own with a small delay from its neighbour. The staggered timing turns a flat word into a rolling wave, a bounce or a ripple of tilts.
When to use it
- Good for short playful words, loading screens and hero accents; keep it off long sentences and body copy.
- Wave moves vertically, bounce adds squash and stretch, tilt rotates each letter.
- Specify the motion, the delay between letters and the loop time in prompts.
What the controls do
- Three style buttons, an Amplitude slider and a Speed slider.
Motion & timing
- Continuous loop; per-letter delay is 90ms; speed sets the cycle from 0.6s to 2.4s.
- Reduced motion: letters stay still and a note explains that the motion is off.
Tips & variations
- Reduce amplitude on small screens so letters do not overlap lines above and below.
- Keep the animated word to about eight letters.
Code of this live preview
<div class="bx"><div class="wd" id="wd" role="img" aria-label="MOTION"></div><p class="out" id="out" aria-live="polite"></p>
<div class="pre" id="pre" role="group" aria-label="Style"><button data-s="wave" aria-pressed="true">Wave</button><button data-s="bounce" aria-pressed="false">Bounce</button><button data-s="tilt" aria-pressed="false">Tilt</button></div>
<div class="two"><label>Amplitude <input id="am" type="range" min="4" max="24" value="12"></label><label>Speed <input id="sp" type="range" min="6" max="24" value="14"></label></div></div>:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
.bx{width:min(320px,100%);display:grid;gap:8px}
.wd{height:96px;border-radius:12px;background:var(--surface);border:1px solid var(--line);display:flex;justify-content:center;align-items:center;gap:2px;font-size:38px;font-weight:900;letter-spacing:-.01em;overflow:hidden}
.l{display:inline-block;animation:var(--an) calc(var(--sp) * 1s) ease-in-out infinite;animation-delay:calc(var(--i) * -90ms)}
@keyframes wave{0%,100%{transform:translateY(calc(var(--am) * -1px))}50%{transform:translateY(calc(var(--am) * 1px))}}
@keyframes bounce{0%,100%{transform:translateY(0) scale(1.15,.8)}50%{transform:translateY(calc(var(--am) * -2px)) scale(.9,1.15)}}
@keyframes tilt{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(12deg)}}
.out{font-size:12px;color:var(--muted);min-height:16px}
.pre{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.pre button{height:28px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11.5px;cursor:pointer;padding:0}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two label{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}input[type=range]{width:100%;accent-color:#171717}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.l{animation:none}}const wd=document.getElementById('wd'),am=document.getElementById('am'),sp=document.getElementById('sp'),out=document.getElementById('out'),bs=[...document.querySelectorAll('#pre button')];
'MOTION'.split('').forEach((c,i)=>{const s=document.createElement('span');s.className='l';s.style.setProperty('--i',i);s.textContent=c;s.setAttribute('aria-hidden','true');wd.append(s);});
function up(){wd.style.setProperty('--am',am.value);wd.style.setProperty('--sp',(sp.value/10).toFixed(1));}
function st(k){wd.style.setProperty('--an',k);bs.forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.s===k)));}
if(matchMedia('(prefers-reduced-motion: reduce)').matches)out.textContent='Reduced motion is on, so the letters stay still.';
bs.forEach(b=>b.addEventListener('click',()=>st(b.dataset.s)));am.addEventListener('input',up);sp.addEventListener('input',up);up();st('wave');One complete HTML file. Save it and open it in a browser.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Wave, Bounce & Tilt Letters — demo</title>
<style>
:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
html,body{height:100%}body{background:var(--bg);color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.stage{min-height:100%;display:grid;place-items:center;padding:24px}button,input,select,textarea{font-family:inherit}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.bx{width:min(320px,100%);display:grid;gap:8px}
.wd{height:96px;border-radius:12px;background:var(--surface);border:1px solid var(--line);display:flex;justify-content:center;align-items:center;gap:2px;font-size:38px;font-weight:900;letter-spacing:-.01em;overflow:hidden}
.l{display:inline-block;animation:var(--an) calc(var(--sp) * 1s) ease-in-out infinite;animation-delay:calc(var(--i) * -90ms)}
@keyframes wave{0%,100%{transform:translateY(calc(var(--am) * -1px))}50%{transform:translateY(calc(var(--am) * 1px))}}
@keyframes bounce{0%,100%{transform:translateY(0) scale(1.15,.8)}50%{transform:translateY(calc(var(--am) * -2px)) scale(.9,1.15)}}
@keyframes tilt{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(12deg)}}
.out{font-size:12px;color:var(--muted);min-height:16px}
.pre{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.pre button{height:28px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11.5px;cursor:pointer;padding:0}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two label{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}input[type=range]{width:100%;accent-color:#171717}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.l{animation:none}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="wd" id="wd" role="img" aria-label="MOTION"></div><p class="out" id="out" aria-live="polite"></p>
<div class="pre" id="pre" role="group" aria-label="Style"><button data-s="wave" aria-pressed="true">Wave</button><button data-s="bounce" aria-pressed="false">Bounce</button><button data-s="tilt" aria-pressed="false">Tilt</button></div>
<div class="two"><label>Amplitude <input id="am" type="range" min="4" max="24" value="12"></label><label>Speed <input id="sp" type="range" min="6" max="24" value="14"></label></div></div>
</div>
<script>
const wd=document.getElementById('wd'),am=document.getElementById('am'),sp=document.getElementById('sp'),out=document.getElementById('out'),bs=[...document.querySelectorAll('#pre button')];
'MOTION'.split('').forEach((c,i)=>{const s=document.createElement('span');s.className='l';s.style.setProperty('--i',i);s.textContent=c;s.setAttribute('aria-hidden','true');wd.append(s);});
function up(){wd.style.setProperty('--am',am.value);wd.style.setProperty('--sp',(sp.value/10).toFixed(1));}
function st(k){wd.style.setProperty('--an',k);bs.forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.s===k)));}
if(matchMedia('(prefers-reduced-motion: reduce)').matches)out.textContent='Reduced motion is on, so the letters stay still.';
bs.forEach(b=>b.addEventListener('click',()=>st(b.dataset.s)));am.addEventListener('input',up);sp.addEventListener('input',up);up();st('wave');
</script>
</body></html>