
Speeding marquee
Scroll, Text, Hover
The opening of a product page on a plate of brushed aluminium: a tip engraves the headline letter by letter, with sparks and a cut that shines warm and cools down, then traces the drawing of the lamp. The light runs along the brushing following the pointer and slips into the grooves of the letters, and a warm reflection drifts across the plate on its own.
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>
<!--
"Engraved metal 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>The headline engraved in brushed metal, with light in the grooves</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>
<main class="stage" data-stage>
<!-- the opening of a product page: a plate of brushed aluminium with the headline engraved letter by letter;
the light runs along the brushing and slips into the grooves where the pointer is -->
<div class="floor" aria-hidden="true"></div>
<div class="tilt" data-tilt>
<section class="plate" data-plate>
<div class="plate__grain" aria-hidden="true"></div>
<div class="plate__sheen" aria-hidden="true"></div>
<div class="plate__warm" aria-hidden="true"></div>
<div class="plate__rim" aria-hidden="true"></div>
<span class="screw screw--tl" aria-hidden="true"><i></i></span>
<span class="screw screw--tr" aria-hidden="true"><i></i></span>
<span class="screw screw--bl" aria-hidden="true"><i></i></span>
<span class="screw screw--br" aria-hidden="true"><i></i></span>
<header class="plate__head">
<span class="brand engr">
<svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M7.6 8.2 12 16.4l4.4-8.2"/></svg>
Varrow
</span>
<span class="spec engr">Anodised 6061-T6</span>
</header>
<!-- the lamp itself, engraved as a technical outline beside the headline -->
<svg class="lamp" data-lamp viewBox="0 0 60 120" aria-hidden="true">
<path d="M9 113.5h36M13 113.5v-3.5c0-1.4 1-2.4 2.4-2.4h23.2c1.4 0 2.4 1 2.4 2.4v3.5"/>
<path d="M26.5 107.6 14.6 63.4"/>
<path d="M29.6 106.8 18 63.2" class="lamp__thin"/>
<circle cx="15.6" cy="61" r="3.4"/>
<path d="M17.8 58.6 42.4 35.4"/>
<path d="M20.2 61.2 43.8 39" class="lamp__thin"/>
<circle cx="44.6" cy="33.4" r="2.8"/>
<path d="M45 38.6 49.2 35.4 58.4 40.8Q56.2 49.2 47 49.8Z"/>
<path d="M49.6 48.6a4.6 4.6 0 0 0 6.6-5.4" class="lamp__thin"/>
</svg>
<h1 class="title" data-title aria-label="Cut from one block.">
<span class="title__line">Cut from</span>
<span class="title__line">one block.</span>
</h1>
<p class="sub engr" data-sub>The Varrow desk lamp, machined from a single billet of aluminium.</p>
<footer class="plate__foot" data-foot>
<span class="serial engr">Serial VR-0417</span>
<button class="pill" type="button" data-pill><span class="engr">Reserve</span><span class="pill__price engr">$340</span></button>
</footer>
</section>
</div>
<canvas class="sparks" data-sparks aria-hidden="true"></canvas>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></path></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.
21 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 “Engraved metal headline” from Animorio and fit it into my siteThe plate is an aluminium gradient with an SVG feTurbulence noise stretched horizontally on top (baseFrequency 0.0018 by 0.75) and very fine lines every three pixels, in overlay: the long strokes of brushed metal.
Metal brushed horizontally reflects light in a vertical band. Two tall, narrow elliptical radial gradients sit at the light with mix-blend-mode soft-light; LIGHT_BAND sets their width, and pressing the plate narrows them.
Every letter is a span with a clip-path holding two pseudo-elements with the same letter: underneath the lip, made only of text-shadow (light on the side away from the light, dark on the other), on top the bottom of the groove, a gradient with the brushing lines clipped to the text with background-clip. So the shadows never cover the bottom.
Every frame the light catches up with the pointer with a little lag. For each letter a bell curve on the horizontal distance from the band (--lit) brightens the bottom of the groove, and the direction to the light (--hx, --hy) moves the lip.
Each letter’s --cut goes from 0 to 1 in CUT_TIME seconds and opens the clip-path from the left; meanwhile the tip is a glow on canvas at the edge of the cut, with SPARKS sparks per frame falling with gravity. --fresh starts at 1 and brings the letter back from warm to grey in 1.3 seconds. The lamp drawing is engraved with stroke-dashoffset, and the tip follows getPointAtLength.
| Name | File | Default | What it changes |
|---|---|---|---|
CUT_TIME | script.js | 0.17 | The seconds the tip takes to engrave one letter. |
LIGHT_BAND | script.js | 1 | How wide the band of light on the brushing is. |
SPARKS | script.js | 3 | How many sparks the tip throws every frame. |
TILT | script.js | 5 | How many degrees the plate leans following the pointer. |
LAMP_SPEED | script.js | 0.006 | How slowly the tip traces the drawing of the lamp. |
WARM_DRIFT | script.js | 0.22 | How fast the warm reflection drifts on its own. |
PAUSE | script.js | 1.4 | The seconds of pause of the drawn pointer at the end of a round. |
For the opening of the page of a well-made object: a lamp, a watch, a knife, a tool, a brand that works metal; when the headline should feel like an engraved mark rather than type, and the light should make you feel the material.
The same plate sized on the width and height of the box, the same engraving with sparks to scale; the light follows the finger, and holding a finger on the plate brings the light closer.
The plate and the lines fade in already engraved, with no tip and no sparks; the light stays still and the plate does not lean, the drawn pointer is hidden.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.7 KB; the libraries: GSAP 28 KB.
Tested on 28 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.