
The liquid grid
Hover, Transitions
The opening of a made-up motion design studio, Undertow: soft tentacles in three layers of close tones unfurl from behind the headline, sway as if under water, curl their tips and grow until they cover the whole screen in their colour. That colour becomes the next page's background, while the old headline floats up and away and the new one rises letter by letter. The tentacles lean towards the pointer; at rest their tips just peek out from behind the headline, in the colour of the page to come.
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>
<!--
"Tentacle transition" 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 tentacles that unfurl from behind the headline and cover the screen</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/fraunces@5.3.0/full-italic.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage" data-stage>
<!-- the opening of a made-up motion studio, Undertow. Soft tentacles unfurl from behind the headline, curl at the
tips and sway as if under water, then grow until they cover the screen in their colour, which becomes the
next page; the next headline rises on top. They lean towards the pointer -->
<canvas class="sea" data-sea aria-hidden="true"></canvas>
<div class="grain" aria-hidden="true"></div>
<header class="top">
<span class="brand">
<svg class="brand__mark" viewBox="0 0 24 24" aria-hidden="true">
<path d="M3 14c3-4 6-4 9 0s6 4 9 0" />
<path d="M3 19c3-4 6-4 9 0s6 4 9 0" />
</svg>
<span class="brand__name">Undertow</span>
</span>
<span class="top__page" aria-live="polite"><span class="top__word" data-count>Studio</span></span>
</header>
<section class="hero" aria-live="polite">
<p class="hero__eyebrow" data-eyebrow>A motion studio</p>
<h1 class="hero__title" data-title>Make waves, <em>quietly.</em></h1>
</section>
<button class="dive" type="button" data-dive>
<span class="dive__label">Dive in</span>
<svg class="dive__arrow" viewBox="0 0 16 16" aria-hidden="true"><path d="M8 3v10M3.5 8.5 8 13l4.5-4.5" /></svg>
</button>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.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.
20 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 “Tentacle transition” from Animorio and fit it into my siteEach tentacle is a spine of 34 steps: at each step the angle is the starting one plus a wave (a sine running down the spine over time), plus the curl of the tip (growing with the cube of the distance from the base) and plus the lean towards the pointer. The width shrinks from base to tip; the two edges are closed with quadratic curves between midpoints, so the ribbon is soft and has no corners.
All the tentacles of a layer go into a single Path2D, filled once with a soft shadow; on top, a light thread on one side catches the light. The layers start a tenth apart: the lightest at the back, the next page's colour in front.
A single number, from 0 to 1 in OPEN seconds on power2.in, lengthens the tentacles (up to almost the screen diagonal) and widens them with the square. In the last stretch a circle of the same colour grows from the middle of the headline, so no corner is left uncovered; at 1 the colour becomes the page background and the tentacles disappear unseen.
The headline is split into words with hidden overflow and into letters: the old one leaves with yPercent to -110 on power3.in, the new one rises from 115 to 0 on expo.out, three hundredths of a second between letters.
For each tentacle the angle towards the pointer, relative to its direction, is measured and added, clamped, growing with the square towards the tip. Without a pointer an invisible point drifts slowly around the screen and acts as a current.
| Name | File | Default | What it changes |
|---|---|---|---|
OPEN | script.js | 2.8 | Seconds for the tentacles to cover the screen. |
TENTACLES | script.js | 9 | Tentacles in each layer. |
LAYERS | script.js | 3 | Layers of close tones, from back to front. |
SWAY | script.js | 0.32 | How much the water sways them, in radians. |
CURL | script.js | 2.4 | How much the tips curl, in radians. |
BEND | script.js | 0.55 | How much they lean towards the pointer. |
HOLD | script.js | 2.6 | Left alone, seconds on each page before the next opening. |
GRAIN | script.js | 0.07 | The grain on top, 0 for none. |
LOOP | script.js | true | Left alone, the openings keep coming. |
For the opening or page change of a creative studio, an aquarium, a brand tied to the sea or any site that wants a soft, organic entrance instead of a curtain: wherever the headline has to make room for a new section with one full gesture.
The same transition with adapted sizes: the tentacles are measured on the screen diagonal, the headline also on the height, and a tap starts the opening.
No tentacles and no rising letters: at each opening the headline fades, the background changes colour and the new headline fades in.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, Fraunces (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.7 KB; the libraries: GSAP 28 KB.
Tested on 8 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.