
Melting words
Text, Scroll, SVG
Scroll inside the preview
The plan section of Egret, a made-up AI agent for architects, on light paper with a single orange: as you scroll, two big sentences take turns, then the floor plan of a flat draws itself, with the walls settling one at a time in random order, the furniture, the dimensions, and the orange marks of what needs fixing, each with its own card.
Rebuilt from scratch studying heronaiapp.com by Bearplus, Kenny Ho: 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>
<!--
"Floor plan assembly" 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>Egret</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/jetbrains-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the plan section of Egret, a made-up AI agent for architects. The stage sticks while you scroll: two big sentences
take turns, then the floor plan of a flat assembles itself (the walls settle one by one in random order, then the
furniture, then the dimensions), and the agent marks what needs fixing, each mark opening its own small card. -->
<main>
<section class="corsa" data-corsa>
<div class="palco" data-palco>
<div class="grana" aria-hidden="true"></div>
<header class="testa">
<div class="marchio">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M3 16 L10 4 L17 16 Z M7 16 L10 10.5 L13 16"/></svg>
<span>Egret</span>
</div>
<div class="conto" aria-live="polite">
<span class="conto__nome">Issues found</span>
<span class="conto__cifra" data-cifra><span class="conto__rullo" data-rullo><span>0</span><span>1</span><span>2</span><span>3</span></span></span>
</div>
</header>
<div class="tavola" data-tavola>
<div class="pianta" data-pianta>
<svg class="disegno" viewBox="-24 -26 448 336" aria-label="Floor plan of a flat" data-svg>
<g class="guida" data-guida></g>
<g class="fantasma" data-fantasma></g>
<g class="muri" data-muri></g>
<g class="porte" data-porte></g>
<g class="arredi" data-arredi></g>
<g class="quote" data-quote></g>
<g class="segni" data-segni></g>
</svg>
<div class="schede" data-schede>
<div class="scheda" data-scheda="0"><span class="scheda__tag">Clearance</span><span class="scheda__testo">Door clearance too narrow</span><span class="scheda__fix">Widen to 32 in</span></div>
<div class="scheda" data-scheda="1"><span class="scheda__tag">Stair</span><span class="scheda__testo">Missing handrail</span><span class="scheda__fix">Add rail, both sides</span></div>
<div class="scheda" data-scheda="2"><span class="scheda__tag">Egress</span><span class="scheda__testo">Bedroom window too small</span><span class="scheda__fix">Raise opening to 5.7 sq ft</span></div>
</div>
</div>
<div class="frasi" aria-hidden="true">
<p class="frase" data-frase>Right there with you</p>
<p class="frase" data-frase>For the whole design</p>
</div>
</div>
<footer class="piede">
<div class="stato">
<span class="stato__tag">Review</span>
<span class="stato__righe" data-righe>
<span data-riga>Scroll to read the model</span>
<span data-riga>Placing the walls</span>
<span data-riga>Furniture and fixtures</span>
<span data-riga>Measuring every room</span>
<span data-riga>Checking clearances</span>
<span data-riga>3 fixes ready for review</span>
</span>
</div>
<span class="piede__lato">Level 01, Flat B</span>
</footer>
</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.
40 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 “Floor plan assembly” from Animorio and fit it into my siteThe section is four screens tall and the stage inside is sticky, 100lvh tall. The whole drawing is a paused GSAP timeline tied to the scroll by a ScrollTrigger with scrub: the scroll moves its playhead, forwards and backwards.
The second sentence comes in from y 3rem, scale 1.04 and opacity 0; the first leaves towards y −3rem and scale 0.96. These are the numbers of the plan section of heronaiapp.com, which moves its sentences in and out with the same pair.
Each wall is an SVG rectangle going from opacity 0 and scale 1.1 to 1, with stagger from "random". The site uses an amount of 0.02, so its walls arrive almost together; here the amount is wider (the WALL_SPREAD knob), so the random order shows.
Each dimension is a group with the line and two slanted ticks: scaleX (or scaleY for the vertical ones) from 0 to 1 with transform-box fill-box, so it grows from its middle; the number appears when the line is nearly done.
The mark is a small orange square with a light core and an echo that grows and fades once. The leader line draws itself with strokeDashoffset and the card, in HTML above the drawing, is placed in percent at the end of the line, so it follows the plan at any size.
On every timeline update the script counts how many marks have passed and which phase it is in: the digit roller and the status line change with their own tween, not with the scrub, so they stay crisp even when the scroll stops halfway.
| Name | File | Default | What it changes |
|---|---|---|---|
RIDE | script.js | 1 | How much scroll the whole plan takes: 2 is twice as long. |
WALL_SPREAD | script.js | 1.6 | How spread out the walls land (the site uses 0.02: all at once). |
WALL_SCALE | script.js | 1.1 | How big each wall is before it settles. |
ISSUES | script.js | 3 | How many issues the agent marks, from 0 to 3. |
SCRUB | script.js | 0.6 | How many seconds the drawing lags behind the scroll. |
GHOST | script.js | 1 | 1: the faint outline of the walls shows before they land; 0: no outline. |
For the site of software for architects, an architecture studio, an estate agency or a builder: the section that explains what the product does as you scroll, with the drawing building itself before your eyes.
The same animation: the plan is the biggest 4:3 box that fits between the header and the footer, the sentences and the cards are sized on the height too and the floor label at the bottom right hides.
Nothing moves: the plan appears already finished, with the three marks, the cards and the counter at three, in a fade.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.3 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 27 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.