
The liquid grid
Hover, Transitions
The page change of a made-up ink maker's site, Blotwell, with four full-colour pages: Studio, Inks, Nibs and Classes. Pick a menu item and a drop of the next page's ink falls from above the click, stretching as it speeds up while its shadow gathers on the paper; on the hit it squashes, throws a shower of spatter around and opens into a blot with an uneven edge, its lobes swaying, the darker rim of wet ink and a sheen on the side the light comes from. The blot spreads slowly and then all at once to the farthest corner, becomes the new page's background and the title rises letter by letter.
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>
<!--
"Ink drop 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 page transition with a drop of ink that spreads into a blot</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/full.css">
<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>
<main class="stage" data-stage>
<!-- the four pages of a made-up ink maker, Blotwell. Every page has its own full colour. A click on the menu lets
a drop of the next page's ink fall from above the click, hit the paper, throw out a spatter of droplets and
spread into an uneven blot that covers the screen and becomes the new page -->
<header class="top">
<a href="#" class="brand" data-go="studio" aria-label="Blotwell ink makers, home">
<svg class="brand__mark" viewBox="0 0 24 24" aria-hidden="true">
<path d="M12 3.2c3.3 4.4 5.6 7.6 5.6 10.6a5.6 5.6 0 0 1-11.2 0c0-3 2.3-6.2 5.6-10.6z"></path>
<path d="M9.4 14.6c.3 1.4 1.3 2.3 2.7 2.5"></path>
</svg>
<span class="brand__name">Blotwell</span>
</a>
<a href="#" class="shop" data-go="classes"><span>Book a class</span>
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h8.5M8.6 4.4 12.2 8l-3.6 3.6"></path></svg>
</a>
</header>
<div class="pages">
<section class="page is-on" data-page="studio" aria-label="Studio">
<p class="eyebrow" data-in>Ink makers since 1998</p>
<h1 class="title" data-title>Studio</h1>
<div class="foot">
<p class="text" data-in>Iron gall and pigment inks, ground by hand in small batches and bottled in the back room.</p>
<div class="card" data-in>
<span class="card__small">This month</span>
<span class="card__mid">Six new shades</span>
</div>
</div>
</section>
<section class="page" data-page="inks" aria-label="Inks" hidden>
<p class="eyebrow" data-in>Forty colours on the shelf</p>
<h1 class="title" data-title>Inks</h1>
<div class="foot">
<p class="text" data-in>Deep indigo, oxblood, moss and soot, each one tested on six papers before it leaves.</p>
<div class="card" data-in>
<span class="card__small">Bottle, 50 ml</span>
<span class="card__mid">€18</span>
</div>
</div>
</section>
<section class="page" data-page="nibs" aria-label="Nibs" hidden>
<p class="eyebrow" data-in>Steel, brass and gold</p>
<h1 class="title" data-title>Nibs</h1>
<div class="foot">
<p class="text" data-in>Pointed, broad and italic nibs, ground to write wet and to stop before they flood.</p>
<div class="card" data-in>
<span class="card__small">Starter set</span>
<span class="card__mid">Five nibs, one holder</span>
</div>
</div>
</section>
<section class="page" data-page="classes" aria-label="Classes" hidden>
<p class="eyebrow" data-in>Saturday mornings</p>
<h1 class="title" data-title>Classes</h1>
<div class="foot">
<p class="text" data-in>Three hours at the long table, a nib, a bottle and a slow first alphabet.</p>
<div class="card" data-in>
<span class="card__small">Next class</span>
<span class="card__mid">Sat 15 Nov, 9:30</span>
</div>
</div>
</section>
</div>
<!-- the drop, the spatter and the blot are drawn on this canvas, above the pages and below the menu -->
<canvas class="ink" data-ink aria-hidden="true"></canvas>
<nav class="nav" data-nav aria-label="Main">
<span class="nav__hover" data-hover aria-hidden="true"></span>
<span class="nav__pill" data-pill aria-hidden="true"><span class="nav__gloss"></span></span>
<a href="#" class="nav__item is-here" data-go="studio" aria-current="page"><span>Studio</span></a>
<a href="#" class="nav__item" data-go="inks"><span>Inks</span></a>
<a href="#" class="nav__item" data-go="nibs"><span>Nibs</span></a>
<a href="#" class="nav__item" data-go="classes"><span>Classes</span></a>
</nav>
<div class="grain" aria-hidden="true"></div>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.5l13 7.2-5.6 1.4-2.8 5.4z"></path></svg>
<p class="sr" aria-live="polite" data-live></p>
</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.
45 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 “Ink drop transition” from Animorio and fit it into my siteThe drop, the spatter and the blot are drawn on a full-page canvas, above the pages and below the menu, redrawn every frame only while the transition runs (gsap.ticker).
A state object carries the drop's position, its stretch and the shadow: GSAP animates them with power2.in, so the drop speeds up, and the shadow grows under the landing point.
The blot's radius changes with the angle: it is 1 plus the sum of four sines with frequencies, amplitudes and phases picked at random on every change, drifting over time. The points are joined with quadratic curves through the midpoints, so the edge is soft.
On the hit the droplets leave at a random speed and angle, mostly up and sideways; every frame they move and their speed drops exponentially, like ink drunk by paper. They are drawn as ellipses stretched along their motion.
The final radius is the distance from the hit to the farthest corner, plus a little: the blot gets there with power2.in, then the new page takes the colour and the canvas is cleared.
Titles are split into letters at start (the whole title stays in the aria-label); the new title's letters rise from below, turned, one after the other with back.out.
| Name | File | Default | What it changes |
|---|---|---|---|
FALL | script.js | 0.34 | Seconds for the drop to fall onto the click point. |
SPLASH | script.js | 0.2 | Seconds of the first hit, when the drop opens into a small blot. |
SPREAD | script.js | 0.95 | Seconds for the blot to spread over the screen. |
WOBBLE | script.js | 0.16 | How uneven the blot edge is (0 is a circle). |
LOBES | script.js | 7 | How many main lobes the blot has. |
SPATTER | script.js | 14 | How many droplets the hit throws out. |
RIM | script.js | 1 | The darker rim of wet ink (1 on, 0 off). |
STAGGER | script.js | 0.035 | Seconds between one letter and the next of the new title. |
AUTO_EVERY | script.js | 1.6 | Left alone, the seconds of pause on each page before the next lap. |
For the site of a workshop, a studio or a brand that works with ink, paper or colour (an ink maker, a print shop, an illustrator, a calligraphy school), with few full-colour pages: when the page change should have a real material and start from the click.
The same transition with adapted sizes: the drop and the spatter are sized on the shorter side of the screen, the blot always reaches the farthest corner, the bar stays at the bottom centre with narrower items, the line and the card stack, and in the short box only the card stays.
No drop, no spatter and no spreading blot: the new page's colour fades over the page in 0.4 s and the new page fades in; the cream pill jumps to its place.
GSAP 3.15.0, Fraunces (font variabile) 5.3.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.5 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.