
Melting words
Text, Scroll, SVG
Scroll inside the preview
The product page of the Sorell W8 washer, a made-up premium appliance brand, on warm light paper. A sticky stage holds the front-facing washing machine in the middle, drawn clean in 2D: pearl body, detergent drawer, monospace display, chrome knob with its ticks, porthole with a chrome ring and glass with one reflection. Scrolling runs a whole wash: the porthole opens a little, a folded garment goes in, the door shuts with a bounce, the water rises in the porthole with a wave and the drum spins faster and faster with the scroll. Three lines of features come in from the sides, one per stage, with their figures counting up from zero: «Quiet at 46 dB», «A wash in 28 minutes», «40% less water». At the end the drum slows, rocks once, the water drains and the display says «Done». GSAP with ScrollTrigger (scrub) and Lenis.
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>
<!--
"Washing machine page" 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>Sorell W8 washer</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/geist-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the product page of a made-up premium appliance maker, Sorell. The stage sticks while you scroll: the porthole
opens a little, a folded towel goes in, the door shuts, the water rises with a wave and the drum spins faster
and faster; three lines of features come in, one per stage, with their figures counting up. At the end the
drum slows down, the water drains and the display says Done. -->
<main>
<section class="corsa" data-corsa>
<div class="palco" data-palco>
<div class="alone" aria-hidden="true"></div>
<header class="testa">
<p class="marchio">
<svg class="marchio__segno" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="5.2"/></svg>
<span>Sorell</span>
</p>
<p class="modello"><span>W8 washer</span><span class="modello__prezzo">from $1,290</span></p>
</header>
<div class="scena" data-scena>
<div class="macchina" data-macchina>
<svg class="lavatrice" viewBox="0 0 300 384" role="img" aria-label="A front-loading washing machine">
<defs>
<linearGradient id="g-corpo" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="var(--corpo-alto)"/>
<stop offset="1" stop-color="var(--corpo)"/>
</linearGradient>
<linearGradient id="g-cromo" x1="0.15" y1="0" x2="0.85" y2="1">
<stop offset="0" stop-color="#fdfdfc"/>
<stop offset="0.28" stop-color="#b9bcbf"/>
<stop offset="0.5" stop-color="#eef0f1"/>
<stop offset="0.72" stop-color="#8f9397"/>
<stop offset="1" stop-color="#dfe1e2"/>
</linearGradient>
<radialGradient id="g-cestello" cx="0.5" cy="0.42" r="0.6">
<stop offset="0" stop-color="#5a5f65"/>
<stop offset="1" stop-color="#25282c"/>
</radialGradient>
<radialGradient id="g-manopola" cx="0.38" cy="0.32" r="0.75">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="0.6" stop-color="#d9dbdc"/>
<stop offset="1" stop-color="#a9adb0"/>
</radialGradient>
<linearGradient id="g-acqua" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="var(--accento)" stop-opacity="0.5"/>
<stop offset="1" stop-color="var(--accento-fondo)" stop-opacity="0.85"/>
</linearGradient>
<linearGradient id="g-vetro" x1="0.1" y1="0" x2="0.7" y2="1">
<stop offset="0" stop-color="#eaf3fa" stop-opacity="0.22"/>
<stop offset="0.4" stop-color="#cfe0ea" stop-opacity="0.05"/>
<stop offset="1" stop-color="#0d1a24" stop-opacity="0.1"/>
</linearGradient>
<filter id="f-ombra" x="-20%" y="-50%" width="140%" height="200%"><feGaussianBlur stdDeviation="6"/></filter>
<clipPath id="c-vetro"><circle cx="150" cy="222" r="74"/></clipPath>
</defs>
<ellipse class="ombra" cx="150" cy="370" rx="128" ry="7" filter="url(#f-ombra)"/>
<rect class="piede" x="38" y="352" width="22" height="14" rx="3"/>
<rect class="piede" x="240" y="352" width="22" height="14" rx="3"/>
<g data-corpo>
<rect class="corpo" x="18" y="8" width="264" height="350" rx="24" fill="url(#g-corpo)"/>
<rect class="corpo__filo" x="18.5" y="8.5" width="263" height="349" rx="23.5"/>
<path class="corpo__luce" d="M40 9.5h220"/>
<path class="giunta" d="M19 82h262"/>
<path class="giunta giunta--chiara" d="M19 83h262"/>
<!-- the detergent drawer -->
<rect class="cassetto" x="34" y="28" width="62" height="34" rx="7"/>
<path class="cassetto__maniglia" d="M48 54h34"/>
<!-- the display -->
<rect class="schermo" x="110" y="26" width="98" height="38" rx="9"/>
<rect class="schermo__riflesso" x="111" y="27" width="96" height="14" rx="8"/>
<text class="schermo__testo" x="159" y="47" data-schermo>Ready</text>
<path class="schermo__binario" d="M124 55h70"/>
<path class="schermo__corsa" d="M124 55h70" data-corsa-schermo/>
<!-- the knob, with its ticks -->
<g class="tacche" data-tacche></g>
<g data-manopola class="manopola">
<circle cx="246" cy="45" r="17" fill="url(#g-manopola)"/>
<circle class="manopola__filo" cx="246" cy="45" r="16.5"/>
<circle class="manopola__dentro" cx="246" cy="45" r="11.5"/>
<path class="manopola__segno" d="M246 32.5v6"/>
</g>
<!-- the opening behind the door: rubber gasket and the drum -->
<circle class="guarnizione" cx="150" cy="222" r="86"/>
<circle class="guarnizione__piega" cx="150" cy="222" r="79"/>
<g clip-path="url(#c-vetro)">
<circle cx="150" cy="222" r="74" fill="url(#g-cestello)"/>
<g data-cestello class="cestello"></g>
<g data-capo class="capo">
<rect x="-26" y="-15" width="52" height="30" rx="6" class="capo__stoffa"/>
<path class="capo__piega" d="M-26 -3h52"/>
<path class="capo__bordo" d="M-22 9h44"/>
<path class="capo__ombra" d="M-26 -2h52v11a6 6 0 0 1-6 6h-40a6 6 0 0 1-6-6z"/>
</g>
<path class="acqua" data-acqua fill="url(#g-acqua)"/>
<path class="acqua__pelo" data-pelo/>
<g data-bolle class="bolle"></g>
</g>
<g data-capo-fuori class="capo capo--fuori">
<rect x="-26" y="-15" width="52" height="30" rx="6" class="capo__stoffa"/>
<path class="capo__piega" d="M-26 -3h52"/>
<path class="capo__bordo" d="M-22 9h44"/>
</g>
<!-- the door: chrome ring, glass, reflection. It opens on the hinge on the left -->
<g data-porta class="porta">
<path class="cerniera" d="M60 196v52"/>
<circle cx="150" cy="222" r="84.5" fill="none" stroke="url(#g-cromo)" stroke-width="15"/>
<circle class="cromo__filo" cx="150" cy="222" r="91.5"/>
<circle class="cromo__dentro" cx="150" cy="222" r="77.5"/>
<circle cx="150" cy="222" r="75" fill="url(#g-vetro)"/>
<circle class="vetro__filo" cx="150" cy="222" r="74.5"/>
<g data-riflesso>
<path class="riflesso" d="M96 190a64 64 0 0 1 58-38"/>
<path class="riflesso riflesso--fine" d="M100 210a56 56 0 0 1 8-24"/>
</g>
<rect class="maniglia" x="236" y="206" width="9" height="32" rx="4.5"/>
</g>
</g>
</svg>
</div>
<div class="righe" data-righe>
<p class="invito" data-invito>
<span>Scroll to start a wash</span>
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 3.5v9M4.5 9 8 12.5 11.5 9"/></svg>
</p>
<div class="riga" data-riga>
<p class="riga__nome">Brushless direct drive</p>
<p class="riga__dato">Quiet at <span class="cifra" data-cifra="46">46</span> dB</p>
</div>
<div class="riga" data-riga>
<p class="riga__nome">QuickWash programme</p>
<p class="riga__dato">A wash in <span class="cifra" data-cifra="28">28</span> minutes</p>
</div>
<div class="riga" data-riga>
<p class="riga__nome">Load sensing</p>
<p class="riga__dato"><span class="cifra" data-cifra="40">40</span>% less water</p>
</div>
</div>
</div>
</div>
</section>
</main>
<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.
33 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 “Washing machine page” from Animorio and fit it into my siteThe machine is a single SVG in a 300 by 384 viewBox: the body with two gradients (from a lit top to shadow), the drawer, the display, the chrome knob with a radial gradient and ticks laid out in a circle, the porthole with its dark gasket, the drum and, over it, the chrome ring with a gradient that fakes metal. The glass is a near-transparent circle so you see inside; the drum's holes and paddles are drawn with a loop.
A paused GSAP timeline marks every stage (door, garment, water, drum speed, lines, «Done») over ten seconds; ScrollTrigger with scrub runs it forward and back with the scroll, on a 660vh section with a sticky stage. Lenis (lerp 0.1) scrolls smoothly and updates ScrollTrigger. No value is ever tweened per frame by the scroll: the scroll only moves the timeline's playhead.
The timeline does not turn the drum: it only gives it a speed (turns a second). One loop on GSAP's ticker adds dt times the speed to the angle each frame, so speeding up or scrolling back never makes the drum jump to another point: the speed changes, not the angle. The garment tumbles along the same angle while it is inside.
The water's surface is a path rebuilt every frame over twenty-five points: two summed sines make the wave, higher when the drum spins, and a slight tilt pulls the level the way it turns. The bubbles rise only within the water and only while the drum turns. Everything is clipped inside the porthole circle with a clip-path.
The three lines come in one per stage (each with its own sub-state in the timeline) and, where there is room, stay in a column beside the machine; on a narrow screen they overlap and pass one at a time beneath it. The figures count up from the value read off the state, with no tween per figure. The display is monospace text that changes with the timeline's playhead: «Ready», «Load», «Cotton 40», the countdown, «Done».
The door opens by squashing its scaleX from the left hinge, not by rotating, so it stays clean; the glass reflection drifts slowly behind the pointer with a mouse; the knob follows the programme with an elastic and clicks a notch on a tap; at full speed the machine trembles by less than a pixel and rocks once at the end before it stops.
| Name | File | Default | What it changes |
|---|---|---|---|
TOP_SPEED | script.js | 2.6 | How fast the drum spins at the top of the wash, in turns a second. |
WATER | script.js | 0.62 | How high the water rises in the porthole: 1 fills it. |
WAVE | script.js | 5 | The height of the wave on the water, in drawing units. |
DOOR | script.js | 0.5 | How much the door opens: 0 stays shut, 1 opens flat. |
SHAKE | script.js | 0.7 | How much the machine trembles at full spin, in pixels: 0 never. |
RIDE | script.js | 1 | How much scroll the whole wash takes: 2 is twice as long. |
For the product page of an appliance or object where something happens as you scroll: a washer, a dishwasher, a coffee machine, an oven. The scroll tells what the product does, and the feature figures count up stage by stage. It also suits the landing page of a premium technical product.
The same animation with adapted sizes: the washer is measured on width and height with min(vw, vh), sits in the middle and the three lines pass one at a time beneath it instead of beside it. The wash is the same, all inside the frame.
No movement: the machine fades in, the drum does not turn or tremble, the water is a still level with no wave, the bubbles are gone and the garment is already in the drum. The lines fade in with their figures already at value; the display and the water level still follow the scroll position, as they are only a result, not a movement.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, Geist Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.8 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 13 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.