
Melting words
Text, Scroll, SVG
Scroll inside the preview
The page of a made-up spring water, Stillmere: scrolling down, a sage arch grows from the centre, from a tenth of its size to its full size, a little behind the scroll, and inside it the three lines of the sentence rise one after the other, straightening out on a small spring. Then a thin dashed line draws itself along the inner edge, a light runs along it once and the arch settles by a pixel. Minimal style, white paper, sage and blue-black ink.
Rebuilt from scratch studying aupalevodka.com by Locomotive: the idea is theirs; code, copy and images are ours. Read how it’s made
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>
<!--
"Centre arch reveal" 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>The arch that opens from the centre on scroll</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/instrument-serif@5.3.0/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/instrument-serif@5.3.0/400-italic.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/jetbrains-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- a made-up spring water, Stillmere. Scrolling down, a sage arch grows from a seed in the middle of the page to its
full size, a little behind the scroll; its three lines rise inside it, a dashed line draws itself along the
inner edge, the still line of the lake draws itself from the middle, and when the arch arrives a light runs once along that line and the arch settles by a pixel -->
<main class="pagina">
<section class="trittico" data-trittico aria-label="Stillmere">
<div class="palco">
<p class="marchio">Stillmere</p>
<p class="scendi" data-scendi>Scroll</p>
<div class="arco-scala" data-scala>
<div class="arco" data-arco>
<div class="arco__fondo"></div>
<svg class="arco__linee" data-linee aria-hidden="true">
<defs>
<mask id="arco-maschera" maskUnits="userSpaceOnUse">
<path class="arco__maschera" data-maschera pathLength="1" />
</mask>
</defs>
<path class="arco__tratteggio" data-tratteggio mask="url(#arco-maschera)" />
<path class="arco__luce" data-luce pathLength="1" />
</svg>
<span class="arco__orizzonte" data-orizzonte></span>
<h2 class="arco__frase" data-frase>
<span class="riga"><span class="riga__dentro" data-riga>Left as</span></span>
<span class="riga"><span class="riga__dentro" data-riga>the <em>mountain</em></span></span>
<span class="riga"><span class="riga__dentro" data-riga>made it.</span></span>
</h2>
</div>
</div>
<p class="didascalia"><span class="riga"><span class="riga__dentro" data-didascalia>Stillmere spring water</span></span></p>
</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.
21 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 “Centre arch reveal” from Animorio and fit it into my siteThe section is 320vh tall and holds a sticky stage 100lvh tall: the page scrolls for 220vh while the arch stays in the middle. Each movement has its own ScrollTrigger on the same section, with start and end written as shares of that distance (0 to 55 per cent for the arch, 20 to 62 for the lines, 50 to 82 for the line), measured again on every refresh with invalidateOnRefresh.
The site ties the arch to the scroll with anime.js and sync 0.5, and the lines with sync 0.25: we redo it with ScrollTrigger’s scrub, 0.5 for the arch and 0.25 for the lines. So the arch, bigger, arrives softer and the words follow it more promptly. The scale goes from 0.1 to 1 with expo.out, the site’s outExpo curve.
Each line is a span with overflow clip and 0.15em of padding above and below, offset by a negative margin, as the site does, so ascenders and italics are not cut. Inside, the word span starts at yPercent 100, skewX 10 and scale 1.04 and reaches zero on a hand-written spring (an exponential times a cosine, normalised), close to anime.js’s with bounce 0.214.
The inner outline is an SVG path measured in pixels from the size of the arch: up the left side, an arc of a circle, down the right. A dashed stroke cannot be drawn with stroke-dashoffset, which the dashes already use: so the dashed path sits under a mask, a second solid path with pathLength 1 whose dashoffset goes from 1 to 0.
When the scroll passes 84 per cent a timeline starts that does not follow the scroll: a third path with a dash 0.07 long runs along the edge from end to end with a white glow, and the inner wrapper of the arch goes to a scale two pixels larger and comes back on the spring. A switch fires it once; going back below 40 per cent re-arms it.
| Name | File | Default | What it changes |
|---|---|---|---|
ARCH_FROM | script.js | 0.1 | How small the arch starts, as a share of its full size. |
ARCH_LAG | script.js | 0.5 | Seconds the arch takes to catch up with the scroll. |
LINES_LAG | script.js | 0.25 | Seconds the lines take to catch up with the scroll. |
LINE_SKEW | script.js | 10 | How many degrees of slant the lines start with. |
DASH | script.js | 3 | Length of the dashes of the inner line, in pixels. |
GAP | script.js | 5 | Gap between the dashes, in pixels. |
SHINE | script.js | 1.6 | Seconds the light takes to run along the edge. |
SETTLE | script.js | 1 | How many pixels the arch goes past its size when it arrives. |
SMOOTH | script.js | 1.1 | Seconds of the smooth scroll; 0 for the browser’s own. |
For a manifesto or promise section on a brand page: a water, a wine, a skincare line, a mountain hotel, a spa, an architecture studio. A single sentence, arriving inside a shape that grows, as you scroll down.
The same curves and the same lags: the arch is measured on both height and width (at most two thirds of the screen tall, three quarters wide) and the sentence takes its size from the arch, so everything fits in the phone preview, caption included.
No growing and no rising lines: the arch is already full size, the sentence, the dashed line, the line of the lake and the caption are already in place, and the page appears with a fade. No running light and no smooth scroll.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Instrument Serif 5.3.0, JetBrains Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.4 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 31 October 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.