
Logo loader
Transitions, SVG, Text
The gate of a made-up comic saga, Emberfell: two thin gold lines fill up with the percentage running along them, then a “Discover” button draws itself. On the click, diagonal dry-brush strokes cover the screen from left to right, the title shows white only where the ink is, and the strokes leave the same way, uncovering the page of the first book as it settles into place. Minimal style, warm paper, warm black and one gold.
Rebuilt from scratch studying thorgal.com by Caracal, REEPLE Studio: 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>
<!--
"Brush-stroke 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 brush-stroke transition with the title inside the ink</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/mulish@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- a made-up comic saga in five books, Emberfell, from a made-up publisher, Quire Press. A waiting screen fills two
thin gold lines, then a Discover button draws itself; on the click, dry brush strokes sweep across the screen from
left to right, the title shows white only inside the ink, and the strokes leave the same way, uncovering the page
of the first book as it settles into place -->
<main class="palco" data-palco>
<!-- the waiting screen -->
<section class="cancello" data-cancello aria-label="Emberfell">
<div class="filo filo--su" aria-hidden="true">
<span class="filo__linea" data-filo></span>
<span class="filo__cifra" data-cifra>0</span>
</div>
<div class="filo filo--giu" aria-hidden="true">
<span class="filo__linea" data-filo></span>
<span class="filo__cifra" data-cifra>0</span>
</div>
<div class="marchio" data-marchio>
<p class="marchio__sopra" data-sopra>Quire Press</p>
<h1 class="marchio__nome" data-nome>Emberfell</h1>
<p class="marchio__sotto" data-sotto>A saga in five books</p>
</div>
<button class="scopri" type="button" data-scopri data-autoclic>
<svg class="scopri__orn scopri__orn--sx" viewBox="0 0 30 14" aria-hidden="true" data-orn>
<path pathLength="1" d="M29 7H9M9 7l-4-4.2L1 7l4 4.2L9 7M15 4.2v5.6" />
</svg>
<span class="scopri__corpo" data-corpo>
<span class="scopri__etichetta">Discover</span>
</span>
<svg class="scopri__orn scopri__orn--dx" viewBox="0 0 30 14" aria-hidden="true" data-orn>
<path pathLength="1" d="M1 7h20M21 7l4-4.2L29 7l-4 4.2L21 7M15 4.2v5.6" />
</svg>
</button>
</section>
<!-- the page under the ink -->
<section class="pagina" data-pagina aria-label="Book one" aria-hidden="true">
<div class="pagina__dentro" data-dentro>
<header class="pagina__testa">
<span class="pagina__marchio">Emberfell</span>
<span class="pagina__nota">Quire Press</span>
</header>
<div class="pagina__centro">
<p class="libro" data-libro>Book one</p>
<h2 class="titolo" data-titolo><span class="titolo__dentro" data-titolo-dentro>The Ash Road</span></h2>
<span class="regola" data-regola aria-hidden="true"></span>
<p class="riga" data-riga><span class="riga__dentro" data-riga-dentro>Where the last fire went out, a road begins.</span></p>
</div>
<footer class="pagina__piede">
<span>Five books, one road</span>
<span>Read the first</span>
</footer>
</div>
</section>
<!-- the ink: dry brush strokes drawn into a mask; the ink and the white title both live inside it -->
<svg class="pennello" data-pennello aria-hidden="true">
<defs>
<filter id="secco" x="-10%" y="-10%" width="120%" height="120%">
<feTurbulence type="fractalNoise" baseFrequency="0.035 0.09" numOctaves="3" seed="7" result="rumore" />
<feDisplacementMap in="SourceGraphic" in2="rumore" scale="12" xChannelSelector="R" yChannelSelector="G" data-ruvido />
</filter>
<mask id="inchiostro" maskUnits="userSpaceOnUse" data-maschera>
<rect class="pennello__vuoto" data-vuoto />
<g filter="url(#secco)" data-tratti></g>
</mask>
</defs>
<g mask="url(#inchiostro)">
<rect class="pennello__nero" data-nero />
<g data-logo-posto>
<g class="pennello__logo" data-logo>
<text class="pennello__sopra" data-logo-sopra>QUIRE PRESS</text>
<text class="pennello__nome" data-logo-nome>EMBERFELL</text>
<text class="pennello__sopra" data-logo-sotto>A SAGA IN FIVE BOOKS</text>
<line class="pennello__regola" data-logo-regola />
</g>
</g>
</g>
</svg>
</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.
36 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 “Brush-stroke transition” from Animorio and fit it into my siteAn object with p from 0 to 1 moves in jerks, six GSAP tweens with power2.out adding up to MIN_LOAD seconds: like the site, which fills its lines with scaleY(p) and a 300 ms ease-out transition. On every update both lines take scaleY(p), the top one with its origin at the top and the bottom one at the bottom, and the numbers move by p times the line’s height, so they always sit at the tip.
The ornaments are two SVG paths with pathLength 1 and dasharray 1 2: the stroke-dashoffset goes from 1 to 0 for the left one and from -1 to 0 for the right one, so both draw towards the label. The black box opens with clip-path from inset(0 0 100% 0) to inset(0), all in 0.4 s with power2.out, staggered by 0, 0.1 and 0.2 s, like the site’s button. On the way out it closes upwards with inset(100% 0 0 0).
Each stroke is a bundle of twelve parallel paths inside an SVG mask, all with a slight curve and the same pathLength 1: the hairs draw with stroke-dashoffset from 1 to 0, each a little early or late and a little faster or slower, so the advancing edge is frayed. An feTurbulence with an feDisplacementMap on the strokes roughens the edges like a dry brush. The strokes start from left to right along a power1.inOut curve.
The black rectangle and the white title sit under the same mask: where there is no brush neither shows, so the title exists only inside the ink, as on the site, where the shader shows it only where the brush video is dark. The title is measured with getBBox: 140 pixels tall, never more than 75 per cent of the width, measured again on resize.
To uncover, the hairs’ stroke-dashoffset goes from 0 to -1: the tail of the stroke lets go from the start and climbs, and the strokes leave in the same order from left to right. In the same time, 1.73 s with power2.out, the page underneath starts a little lower and smaller and settles, like the site’s camera coming down from y +5 and z +2.
| Name | File | Default | What it changes |
|---|---|---|---|
COVER | script.js | 2.12 | Seconds the brush takes to cover the screen. |
UNVEIL | script.js | 1.73 | Seconds the brush takes to uncover it. |
STROKES | script.js | 11 | How many strokes cross the screen. |
HAIRS | script.js | 12 | How many hairs each stroke has: the more, the more frayed the edge. |
LEAN | script.js | 0.5 | How much the strokes lean, as a share of the screen height. |
ROUGH | script.js | 12 | Pixels of dry-brush roughness on the edges; 0 for clean strokes. |
LOGO_HEIGHT | script.js | 140 | Height of the title inside the ink, in pixels. |
LOGO_WIDTH | script.js | 0.75 | The largest share of the screen width the title may take. |
MIN_LOAD | script.js | 2 | Seconds the loading lasts at least. |
DROP | script.js | 4 | How far below its place the page starts, in vh. |
WAIT | script.js | 2.4 | Seconds the button waits before it presses itself. |
HOLD | script.js | 3 | Seconds on the page before the round starts again. |
For the entrance or the page change of an editorial site with a hand-made gesture: a comic saga, a publisher, an illustration or calligraphy show, a book festival, a gallery, a restaurant with a brush-written menu. The brush covers, the name reads inside the ink, and it uncovers the new page.
The same strokes and the same timings: the strokes are measured on the screen’s width and height and rebuilt on resize, the title in the ink stays at most 140 pixels and 75 per cent of the width, and in the phone’s short preview the loading lines, the title and the button are also sized in vh, so everything fits.
No strokes and no movement, as the site does, skipping the cover and the uncover with this setting: the title fades in, the lines are already full and fade away, the button appears already drawn, and on the click the gate fades into the page, already in place.
GSAP 3.15.0, Fraunces (font variabile) 5.3.0, Mulish (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.8 KB; the libraries: GSAP 28 KB.
Tested on 1 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.