
Melting words
Text, Scroll, SVG
Scroll inside the preview
The trace of one request on a made-up AI platform, Ondrel, in a dark panel for a software landing page: the stage stays still and as you scroll the four participants come in (the app, the gateway, the model, the tools), their dashed lifelines draw down and every message is drawn as an arrow with a pulse of light riding its tip. When the pulse lands the arrowhead pops, a ring opens on the receiving lifeline, the busy participant lights its border, the activation bars grow, the time of the step comes in on the right and the trace time in the header rolls up to 842 ms.
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>
<!--
"Sequence diagram" 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>Ondrel, request trace</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/geist-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- a made-up AI platform, Ondrel. A sticky stage with the sequence diagram of one request: scrolling, the four
participants come in, their lifelines draw down, every message is drawn as an arrow with a pulse of light riding
its tip, the busy participant lights up, the activation bars grow and the trace time rolls up to the answer -->
<section class="corsa" data-corsa>
<div class="palco" data-palco>
<h2 class="titolo" data-titolo>Every request, traced end to end</h2>
<figure class="pannello" data-pannello>
<div class="testa">
<span class="marchio">
<svg viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="5.6"/><path d="M8 2.4v11.2M2.4 8h11.2" opacity=".45"/><circle cx="8" cy="8" r="1.7" class="marchio__nucleo"/></svg>
<span class="marchio__nome">Ondrel <span class="marchio__sotto">/ traces</span></span>
</span>
<span class="testa__destra">
<span class="req">req_8f2a41</span>
<span class="tempo"><b data-tempo>0</b> ms</span>
<span class="esito" data-esito>200</span>
</span>
</div>
<div class="corpo" data-corpo>
<svg class="schema" data-schema aria-hidden="true"></svg>
</div>
<div class="piede" data-piede>
<span class="piede__stato">
<svg viewBox="0 0 16 16" aria-hidden="true"><path class="piede__spunta" d="M4 8.4 6.8 11 12 5.2"/></svg>
Answered with 1 tool call
</span>
<span class="piede__dati">7 spans, 842 ms</span>
</div>
</figure>
</div>
</section>
<footer class="fine">Ondrel is a made-up product. The trace is illustrative.</footer>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/ScrollTrigger.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.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.
28 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 “Sequence diagram” from Animorio and fit it into my siteThe script measures the stage and gives the panel the height that is left, then draws everything in an SVG as big as the panel body, with a viewBox in pixels: four equal lanes for the participants, a column on the right for the times and seven rows for the messages. On resize it rebuilds, even mid-animation.
Every arrow is a real path, solid or dashed, under a mask: inside the mask the same path in white draws with stroke-dashoffset. This way the dashed replies draw too without losing their dashes.
A piece of the same path, PULSE_LENGTH pixels long, rides the tip, made with a short dasharray and an offset that follows the drawing; a blurred copy with a Gaussian filter makes the glow, and a white dot sits on the head with getPointAtLength.
The activation bars grow with a cursor that moves down row by row, the border of the participant that has just received lights up with a soft chase on the GSAP ticker and the time at the top rolls to the time of the step that landed.
| Name | File | Default | What it changes |
|---|---|---|---|
RIDE | script.js | 1 | How much scroll the whole trace takes: 2 is twice as long. |
SCRUB | script.js | 0.6 | How far the drawing lags behind the scroll, in seconds. |
PULSE_LENGTH | script.js | 22 | The length of the pulse of light on each arrow, in pixels. |
PULSE_GLOW | script.js | 0.8 | How bright the glow around the pulse is (0 none). |
RING_SIZE | script.js | 10 | How wide the ring opens where a message lands, in pixels. |
HEAD_LIFT | script.js | 8 | How far the participants rise when they come in, in pixels. |
LINE_WIDTH | script.js | 1.3 | The thickness of the arrows, in pixels. |
For the how it works section of the landing page of an AI platform, an API, an observability service or business software: instead of a still drawing, whoever scrolls sees the request travel from piece to piece and how long it takes.
The same animation with adapted sizes: the panel body takes the height left in the stage, the rows are sized on it, the participant boxes drop their icon, the request id and the word traces step aside; arrows, pulses, times and bars all stay.
No motion: the trace is already fully drawn, with the arrows, the bars, the times, the 200 pill and the footer on, without pulses; the panel fades in.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, Geist Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.7 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 10 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.