
Melting words
Text, Scroll, SVG
Scroll inside the preview
The product page of Still, the over-ear headphones of a made-up audio brand, Moraine, on an almost black background: the headphones drawn from the front, anodised aluminium shells, knit cushions, a steel headband, inside a ring of fine lines that tremble like the noise of a room. Scrolling, the noise cancelling switches on and the ring goes still starting from the ear cups, while the decibels fall from 74 to 18; then the view moves in close on the cushion (the knit, the stitching, the grain of the shell) and back out; then the finish goes from Graphite to Sage to Sand with a sheen crossing the shells. The three features rise one by one, then the price and Add to cart.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.
<!doctype html>
<!--
"Noise-cancelling headphones" from Animorio · https://animorio.com
License: free on your own sites and your clients’ sites, paid work included.
Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Moraine Still, noise cancelling headphones</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the product page of a made-up audio brand, Moraine, for its over-ear headphones Still. A sticky stage: around the
headphones a ring of fine lines trembles like the noise of a room; scrolling, the noise cancelling switches on and
the ring goes still from the ear cups outwards, then the view moves in close on the cushion (knit mesh, stitching,
the grain of the anodised shell) and back, then the finish changes from Graphite to Sage to Sand with a sheen
crossing the cups; the three features rise one by one beside it, then the price and Add to cart -->
<section class="corsa" data-corsa>
<div class="palco" data-palco>
<figure class="scena" data-scena>
<svg viewBox="0 0 400 400" role="img" aria-label="The Still headphones, seen from the front, inside a ring of fine lines">
<defs>
<linearGradient id="guscio" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" style="stop-color: var(--g1)"/>
<stop offset="1" style="stop-color: var(--g2)"/>
</linearGradient>
<linearGradient id="guscio-d" x1="1" y1="0" x2="0" y2="1">
<stop offset="0" style="stop-color: var(--g1)"/>
<stop offset="1" style="stop-color: var(--g2)"/>
</linearGradient>
<linearGradient id="cuscino" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" style="stop-color: var(--c1)"/>
<stop offset="1" style="stop-color: var(--c2)"/>
</linearGradient>
<linearGradient id="archetto" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" style="stop-color: var(--g1)"/>
<stop offset="1" style="stop-color: var(--b1)"/>
</linearGradient>
<linearGradient id="acciaio" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#8e9298"/>
<stop offset="0.45" stop-color="#e9ebee"/>
<stop offset="1" stop-color="#7b7f85"/>
</linearGradient>
<linearGradient id="lucido" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#fff" stop-opacity="0"/>
<stop offset="0.5" stop-color="#fff" stop-opacity="0.55"/>
<stop offset="1" stop-color="#fff" stop-opacity="0"/>
</linearGradient>
<!-- knit mesh of the cushions: tiny crossed threads, only legible up close -->
<pattern id="maglia" width="2.4" height="2.4" patternUnits="userSpaceOnUse">
<path d="M0 0L1.2 1.2L2.4 0M0 2.4L1.2 1.2L2.4 2.4" fill="none" stroke="#fff" stroke-opacity="0.16" stroke-width="0.22"/>
</pattern>
<!-- the grain of the anodised aluminium -->
<pattern id="grana" width="7" height="7" patternUnits="userSpaceOnUse">
<circle cx="1.2" cy="2.1" r="0.22" fill="#fff" fill-opacity="0.22"/>
<circle cx="4.6" cy="0.8" r="0.18" fill="#000" fill-opacity="0.25"/>
<circle cx="3.1" cy="4.4" r="0.2" fill="#fff" fill-opacity="0.16"/>
<circle cx="6.1" cy="5.6" r="0.22" fill="#000" fill-opacity="0.2"/>
<circle cx="0.6" cy="6.2" r="0.16" fill="#fff" fill-opacity="0.2"/>
<circle cx="5.4" cy="3.1" r="0.14" fill="#fff" fill-opacity="0.18"/>
</pattern>
<clipPath id="taglio-gusci">
<rect x="70" y="172" width="52" height="112" rx="26"/>
<rect x="278" y="172" width="52" height="112" rx="26"/>
</clipPath>
<filter id="sfuma" x="-50%" y="-200%" width="200%" height="500%"><feGaussianBlur stdDeviation="5"/></filter>
</defs>
<!-- the ring of noise, drawn by script.js -->
<g class="anello" data-anello></g>
<g data-vista>
<!-- soft contact shadows under the cups -->
<ellipse class="ombra" cx="106" cy="294" rx="32" ry="5" filter="url(#sfuma)"/>
<ellipse class="ombra" cx="294" cy="294" rx="32" ry="5" filter="url(#sfuma)"/>
<!-- headband: steel inside, canopy of knit on top -->
<path class="arco" d="M96 156C96 50 304 50 304 156" stroke="url(#archetto)"/>
<path class="arco-luce" d="M110 112C130 70 270 70 290 112"/>
<path class="canopia" d="M108 150C110 74 290 74 292 150"/>
<rect class="stelo" x="92" y="140" width="8" height="38" rx="4" fill="url(#acciaio)"/>
<rect class="stelo" x="300" y="140" width="8" height="38" rx="4" fill="url(#acciaio)"/>
<path class="tacche" d="M93 150h6M93 154h6M93 158h6M301 150h6M301 154h6M301 158h6"/>
<!-- cups -->
<g class="coppa">
<rect x="116" y="180" width="26" height="96" rx="13" fill="url(#cuscino)"/>
<rect x="116" y="180" width="26" height="96" rx="13" fill="url(#maglia)"/>
<rect class="cucitura" x="118.6" y="182.6" width="20.8" height="90.8" rx="10.4"/>
<path class="piega" d="M129 186v84"/>
<rect x="70" y="172" width="52" height="112" rx="26" fill="url(#guscio)"/>
<rect x="70" y="172" width="52" height="112" rx="26" fill="url(#grana)"/>
<rect class="bordo" x="70.5" y="172.5" width="51" height="111" rx="25.5"/>
<path class="riflesso" d="M80 200C77 224 77 248 80 262"/>
<path class="microfono" d="M84 270h2M89 271.4h2M94 272h2"/>
</g>
<g class="coppa">
<rect x="258" y="180" width="26" height="96" rx="13" fill="url(#cuscino)"/>
<rect x="258" y="180" width="26" height="96" rx="13" fill="url(#maglia)"/>
<rect class="cucitura" x="260.6" y="182.6" width="20.8" height="90.8" rx="10.4"/>
<path class="piega" d="M271 186v84"/>
<rect x="278" y="172" width="52" height="112" rx="26" fill="url(#guscio-d)"/>
<rect x="278" y="172" width="52" height="112" rx="26" fill="url(#grana)"/>
<rect class="bordo" x="278.5" y="172.5" width="51" height="111" rx="25.5"/>
<path class="riflesso" d="M320 200C323 224 323 248 320 262"/>
<rect class="corona" x="314" y="165" width="10" height="9" rx="2.5" fill="url(#acciaio)"/>
<path class="corona-righe" d="M316.5 167v5M319 167v5M321.5 167v5"/>
</g>
<!-- the sheen that crosses the cups when the finish changes -->
<g clip-path="url(#taglio-gusci)">
<rect class="lucido" data-lucido x="-60" y="40" width="46" height="280" fill="url(#lucido)" transform="skewX(-18)"/>
</g>
</g>
</svg>
</figure>
<div class="info">
<p class="tipo"><span class="tipo__marca">Moraine</span><span>Over-ear</span></p>
<h1 class="nome" data-nome>Still</h1>
<p class="fatto">Wireless noise cancelling headphones</p>
<ul class="righe">
<li class="riga" data-riga="0" tabindex="0">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M2.5 10h2.2M6.5 7v6M9.2 4.5v11M12 8v4M14.8 9.4v1.2M17.5 10h0"/></svg>
<span class="riga__testo">
<b>Quiet to <em data-db>74</em> dB</b>
<span>Noise cancelling, retuned 200 times a second.</span>
</span>
</li>
<li class="riga" data-riga="1" tabindex="0">
<svg viewBox="0 0 20 20" aria-hidden="true"><rect x="6" y="2.5" width="8" height="15" rx="4"/><path d="M8.6 5.5v9M11.4 5.5v9"/></svg>
<span class="riga__testo">
<b>Memory foam in knit mesh</b>
<span>Breathes through a long-haul flight.</span>
</span>
</li>
<li class="riga" data-riga="2" tabindex="0">
<svg viewBox="0 0 20 20" aria-hidden="true"><circle cx="10" cy="10" r="7"/><path d="M10 3a7 7 0 0 1 0 14Z" class="pieno"/></svg>
<span class="riga__testo">
<b>Anodised in <em data-finitura>Graphite</em></b>
<span class="campioni" role="radiogroup" aria-label="Finish">
<button type="button" class="campione" data-campione="0" role="radio" aria-checked="true" aria-label="Graphite"></button>
<button type="button" class="campione" data-campione="1" role="radio" aria-checked="false" aria-label="Sage"></button>
<button type="button" class="campione" data-campione="2" role="radio" aria-checked="false" aria-label="Sand"></button>
<i class="campioni__anello" data-anello-campione aria-hidden="true"></i>
</span>
</span>
</li>
</ul>
<div class="compra" data-compra>
<span class="prezzo">$329<small>40 h battery</small></span>
<button class="pillola" type="button" data-pillola>
<span class="pillola__fondo" aria-hidden="true"></span>
<span class="pillola__testo" data-pillola-testo>Add to cart</span>
<svg class="pillola__spunta" viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8.4 6.6 11.3 12.5 4.9" data-spunta/></svg>
</button>
</div>
</div>
</div>
</section>
<footer class="fine">Moraine is a made-up brand. Still is not for sale.</footer>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/ScrollTrigger.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.min.js"></script>
<script src="script.js"></script>
</body>
</html>Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.
36 values to change
With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:
Take “Noise-cancelling headphones” from Animorio and fit it into my siteThe section is 360vh tall with a sticky stage 100lvh tall inside (100vh at most). A GSAP timeline of length 1 moves an object of numbers (cancelling, zoom, finish, the three rows, the price) and is tied to the scroll with ScrollTrigger and a 0.7 scrub; on every update a single function writes SVG attributes and styles. Lenis smooths the scroll.
132 SVG lines created by the script, one per angle. In the GSAP ticker every line takes a length from two sines with different frequencies and phases, so the ring always trembles without repeating. The quiet of each line is the cancelling times 1.7 minus its distance from the ear cups (the sine of the angle): the silence starts at the sides and reaches the top and bottom last. The colour goes from the grey of the noise to mint with gsap.utils.interpolate.
The whole headphones sit in a group with a hand-written transform: translate to the point moving towards the centre, scale up to 3.2, translate back by the point of the cushion. With the zoom the knit (a pattern of crossed threads 2.4 units wide), the dashed stitching and the grain of the shell, which from afar are only a texture, become legible. The ring fades as the view moves in.
The colours of shells, cushions and headband are CSS variables read by the gradient stops (through style, because the stop-color attribute does not read variables). The finish is a number from 0 to 2: between two finishes the script interpolates the five colours and sends a slanted sheen across in soft-light blend, clipped to the shells, with a sine opacity. The ring on the swatches slides between their measured positions.
The lean towards the pointer is a hand-written spring in the ticker that turns the headphones around the centre of the headband. A click on the headphones takes a room value to 1 and back to 0 with a timeline: the noise of every line is the larger of its own and the room's, so the ring trembles again even with cancelling on.
| Name | File | Default | What it changes |
|---|---|---|---|
RIDE | script.js | 1 | How much scroll the whole page takes: 2 is twice as long. |
SCRUB | script.js | 0.7 | Seconds the headphones lag behind the scroll. |
LINES | script.js | 132 | How many fine lines make the ring of noise. |
NOISE | script.js | 15 | How far the noise shakes the lines, in drawing units (the drawing is 400). |
QUIET_DB | script.js | 18 | The decibel readout with cancelling on. |
ZOOM | script.js | 3.2 | How close the view moves in on the cushion. |
LEAN | script.js | 3 | Degrees the headphones lean towards the pointer. |
TAP_NOISE | script.js | 0.6 | How much noise comes back when you tap the headphones (0 does nothing). |
For the page of an electronics or design product bought for a quality you cannot see (silence, battery life, insulation): headphones, speakers, air purifiers, thermal bottles. When the scroll should show that quality before saying it, then show the material up close and the colour options, all the way to the price.
The same animation with adapted sizes: the headphones on top, measured on the height too (44% of the screen at most), the features below; in short boxes only the titles of the features and the swatches stay. No lean on hover (there is no mouse), but a tap on the headphones brings the noise back and the swatches can be tapped.
No scroll animation and no zoom: the page fades in with cancelling on, the ring calm, the Sand finish, the three features and the price in place.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 10 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 16 November 2026
Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.