
The dash relief
WebGL, 3D, Hover
The pointer moves over the paper like a wet brush: where it passes the paper turns into ink, a real WebGL fluid, and underneath the same word appears, inflated like a silver balloon. Then the paper closes again.
Rebuilt from scratch studying noth.in by Thomas Carré, Pierre Patrault: 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>
<!--
"Ink that reveals" 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="it">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>L’inchiostro che scopre</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/standard.css">
<link rel="stylesheet" href="style.css">
<script>document.documentElement.classList.add('js');</script>
</head>
<body>
<main class="palco" data-palco>
<h1 class="parola" data-parola>Soffio</h1>
<!-- sopra la carta: la tela WebGL disegna il gemello gonfio solo dove passa l'inchiostro -->
<canvas class="tela" data-tela aria-hidden="true"></canvas>
<!-- senza WebGL il gemello è in CSS e lo scopre un cerchio che segue il puntatore -->
<div class="gemello" data-gemello aria-hidden="true"><span>Soffio</span></div>
<p class="nota">Passa sopra la carta: sotto c’è la stessa parola, gonfia.</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.
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 “Ink that reveals” from Animorio and fit it into my siteVelocity, pressure and ink are half-precision textures (RGBA16F) drawn by one full-screen triangle. Every frame: vorticity, divergence, twenty Jacobi steps for the pressure, gradient subtraction, then the velocity carries itself and the ink. It is Jos Stam’s stable fluids method.
Every pointer movement pours two Gaussian splats at the same point: into the velocity, equal to the movement counted in grid cells times the push, and into the ink. The brush is 7.5% of the word’s font size. On fast strokes the splats repeat along the segment, so the trail has no holes.
The ink is soft, but the screen cuts it at 0.5 after multiplying it by 3.9, with a smoothstep just one screen pixel wide (fwidth): a torn-paper edge, without steps. The ink loses 1.2% every sixtieth of a second and falls below the threshold after about three seconds: the paper closes.
The same word is drawn white on black on a 2D canvas, at the exact position of the letters on the page, then blurred three times and put through a square root: a height map with steep sides and a round top. Its slopes give the normals, and the normals reflect a horizon, light sky above and dark ground below: metal.
| Name | File | Default | What it changes |
|---|---|---|---|
SPINTA | script.js | 6 | How hard the brush pushes the fluid: the velocity poured is the pointer’s movement, counted in grid cells, times this number. |
PENNELLO | script.js | 0.075 | Brush radius, as a fraction of the word’s font size: that way the trail stays in proportion on phones too. |
RESTA_INCHIOSTRO | script.js | 0.988 | How much ink is left every sixtieth of a second: the closer to 1, the longer the trail lasts. |
RICCIOLI | script.js | 12 | How much the fluid curls. With 0 no vortices. |
GONFIO | script.js | 5 | How rounded the silver word is. |
For the first screen of a brand with a strong word: the simplest gesture, moving the mouse, becomes a game with the logo. Avoid it over text meant to be read.
The finger paints. The fluid uses a smaller grid and fewer steps, and the canvas works at a density of 1.5 at most. Inside an iframe a vertical finger stays with the page: it only paints sideways.
No fluid and no ghost brush: the silver word shows in a still circle under the pointer.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.8 KB; the libraries: GSAP 28 KB.
Tested on 27 September 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.