
Melting words
Text, Scroll, SVG
The headline of a team meeting written by hand with a marker on a whiteboard, minimal but with real materials: the chisel tip making a wide or thin line depending on the direction, ink with the fine streaks of a drying felt, the blue marker underlining and ringing a word, the eraser wiping in a zigzag and leaving the grey ghost every whiteboard has, then the next line.
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>
<!--
"Whiteboard marker headline" 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>Arlen Studio, the kickoff whiteboard</title>
<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>
<!-- the headline of a team kickoff written with a chisel marker on a glossy whiteboard: the ink goes down stroke by
stroke with the streaks and the width of a real chisel tip, the blue marker underlines and rings a word, then the
felt eraser wipes it off leaving the faint ghost every whiteboard has, and the next line is written. Drag on the
board to write with the blue marker yourself; a click sends the eraser. -->
<main class="stage">
<figure class="lavagna" data-lavagna aria-label="Whiteboard">
<p class="etichetta"><span data-team>Arlen Studio</span> <span class="etichetta__sep">/</span> <span data-sprint>Sprint 14 kickoff</span></p>
<div class="lavagna__piano" data-piano>
<canvas class="lavagna__fantasma" data-fantasma aria-hidden="true"></canvas>
<canvas class="lavagna__inchiostro" data-inchiostro aria-hidden="true"></canvas>
<span class="lavagna__riflesso" data-riflesso aria-hidden="true"></span>
<canvas class="lavagna__attrezzi" data-attrezzi aria-hidden="true"></canvas>
<h1 class="sr" data-frase></h1>
</div>
<div class="vassoio" aria-hidden="true"></div>
<figcaption class="nota">Drag to write. Click to wipe.</figcaption>
</figure>
</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 “Whiteboard marker headline” from Animorio and fit it into my siteEvery letter is made of a few single-line strokes, written with Bézier curves in a box of 100: the baseline at 100, the x-height at 55, the capitals at 20. The strokes are broken into points 1.2 pixels apart, with a small rotation and baseline jump different for each letter, taken from a seeded random: the writing is by hand but the same on every visit.
The ink is not a line of fixed width: along the path the tip segment is stamped every half pixel, always at the same angle. So the stroke widens when the hand moves across and narrows when it moves along, by itself. The segment is made of 13 lanes, each with its own tone: a few lighter ones make the streaks of the felt, the edges are softer.
One GSAP timeline per line: the marker flies lifted to the first point of each stroke, lowers and runs along it with power1.inOut at a speed in pixels per second, then lifts again. The blue comes only after the black has gone back to the tray. The tools are redrawn on their own canvas every frame.
The eraser follows a zigzag over the words and removes the ink with destination-out and a soft brush that never quite clears everything. What is left at the end moves into the ghost layer with a touch of blur, and the next line is written over it.
| Name | File | Default | What it changes |
|---|---|---|---|
TEAM | script.js | Arlen Studio | The team name on the label. |
SPRINT | script.js | Sprint 14 kickoff | The meeting on the label. |
LINE_1 | script.js | Ship the beta | The first headline (available letters: a b e h i n p r s t S T and the full stop). |
LINE_2 | script.js | Then rest. | The second headline, written after the eraser. |
SPEED | script.js | 1 | How fast the hand writes: 2 is twice as fast. |
NIB | script.js | 1 | How wide the chisel tip is. |
STREAKS | script.js | 1 | How streaky the felt is: 0 is a brand new marker. |
GHOST | script.js | 1 | How much the eraser leaves behind: 0 wipes clean. |
HOLD | script.js | 2.4 | Seconds the finished line stays before the eraser. |
--accento | style.css | #2556e8 | The blue of the second marker, the only accent. |
--inchiostro | style.css | #17181c | The black of the marker. |
For the page of a studio, a course or a workshop, for an agency’s how-we-work section, for a meetings or shared whiteboard app, for a headline that should look handwritten live.
The same animation with adapted sizes: the board is sized on the height too and, when narrow, the line breaks in two; dragging with a finger writes.
No moving marker or eraser: the line fades in already written and after a few seconds gives way to the other.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 11 KB; the libraries: GSAP 28 KB.
Tested on 30 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.