
Stacking certificates
Hover, Images
The home of Kvelda, a made-up landscape photography studio: the big name in the middle, and as the pointer moves the photos of the winter series, Iceland and Norway, are left behind it one every so many pixels, grow with a small tilt, drift a moment with the movement and fade as they sink. The newest sits on top, with the name of its place in a pill; the faster you go, the bigger and further apart they are. When nobody touches, an invisible hand draws a slow loop across the page.
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>
<!--
"Image trail" 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>Image trail</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 home of a made-up landscape photography studio, Kvelda. As the pointer moves, photographs from the
studio's winter series are left behind it, one every so many pixels of travel: each one grows from 0.6 with a
small measured tilt, drifts a moment in the direction of the movement, then dims and sinks away. The newest one
is on top and carries the name of its place. Faster movement leaves bigger, wider-spaced photos. When nobody
moves, an invisible hand draws a slow loop across the page. -->
<main class="stage" data-stage>
<header class="top">
<p class="brand">Kvelda <span>Studio</span></p>
<p class="series">Winter series, Iceland & Norway</p>
</header>
<div class="center">
<h1 class="name" data-name>Kvelda</h1>
<p class="line">Landscape photography from the far north</p>
</div>
<div class="trail" data-trail aria-hidden="true"></div>
<p class="caption" data-caption aria-hidden="true"><span data-caption-text></span></p>
<footer class="bottom">
<p class="hint" data-hint>Move to look around</p>
<nav class="links" aria-label="Studio">
<a href="#" data-link>Index</a>
<a href="#" data-link>Journal</a>
<a href="#" data-link>Contact</a>
</nav>
</footer>
</main>
<!-- the photographs of the series, in the order they come out -->
<ul class="photos" data-photos hidden>
<li data-src="kirkjufell.webp" data-w="900" data-h="600">Kirkjufell, Iceland</li>
<li data-src="parete.webp" data-w="900" data-h="597">Fjord wall in fog</li>
<li data-src="lofoten.webp" data-w="900" data-h="600">Lofoten, Norway</li>
<li data-src="nebbia.webp" data-w="900" data-h="600">Mist on the lake</li>
<li data-src="kleifarvatn.webp" data-w="900" data-h="506">Kleifarvatn, Iceland</li>
<li data-src="cima.webp" data-w="900" data-h="599">Peak in the clouds</li>
<li data-src="oceano.webp" data-w="900" data-h="675">Winter sea</li>
<li data-src="valle.webp" data-w="900" data-h="563">Lake in the valley</li>
<li data-src="cascata.webp" data-w="900" data-h="506">Waterfall, Iceland</li>
<li data-src="neve.webp" data-w="900" data-h="668">First snow</li>
<li data-src="altopiano.webp" data-w="900" data-h="675">Highlands, Iceland</li>
<li data-src="lago-fermo.webp" data-w="900" data-h="675">A still lake</li>
</ul>
<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.
34 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Image trail” from Animorio and fit it into my siteEvery movement adds up the distance from the previous point. When it passes half the width of a photo (SPACING), the count goes back to zero and a photo is born where the pointer is. So photos come out at regular distances, whether the mouse moves slowly or fast.
The speed is smoothed frame by frame. It becomes a number between 0 and 1 that makes the new photo bigger (SPEED_GROW) and the travel before the next one longer: moving in a hurry leaves a wider, sparser trail.
Each photo is a figure with the image inside: GSAP moves the figure, the image fills it with object-fit. It enters from 0.6 with back.out, tilts by an angle taken from a fixed sine (same photo, same angle) and slides for FOLLOW seconds of speed, never leaving the page. After LIFE seconds it fades over FADE seconds and is removed.
Below the newest photo there is a single pill, following it on a spring and swapping its words by sliding them up. It is one element for the whole page, so it does not multiply with the trail.
If the pointer stays still for IDLE seconds, a point in the ticker follows a slow Lissajous curve across the page and goes through the same function as the real pointer: the trail carries on by itself. At the first real movement the hand stops and the count starts afresh, without jumps.
| Name | File | Default | What it changes |
|---|---|---|---|
SIZE | script.js | 1 | How big the photos are compared to the page (1 = about a third of the short side). |
SPACING | script.js | 0.55 | How far the pointer travels before the next photo, compared to a photo’s width. |
LIFE | script.js | 1.0 | How long a photo stays before it fades, in seconds. |
FADE | script.js | 0.7 | How long a photo takes to fade and sink, in seconds. |
TILT | script.js | 6 | The largest tilt of a photo, in degrees. |
FOLLOW | script.js | 0.12 | How far a photo keeps drifting with the movement (seconds of pointer speed). |
SPEED_GROW | script.js | 0.3 | How much bigger the photos get when the pointer moves fast (0 never). |
IDLE | script.js | 2.2 | After how many seconds of stillness the invisible hand starts. |
--accent | style.css | #b5532f | The single accent colour: the place under the newest photo and the link under the pointer. |
On the home page of a photographer, a creative studio or an agency that wants to show many images without a grid: whoever arrives moves the mouse and sees the work go by. It also works as a portfolio section or as the entrance page of an exhibition.
Sizes follow the short side of the page, so in the phone box the photos stay a third of it and never leave the sides: every photo and the pill are kept inside the page. With a finger the trail follows the drag (touch-action off on the demo page only); when still, the invisible hand takes over.
No drifting, tilting or running hand: photos fade in and out where they are born, and when still they take turns in six fixed places around the name.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.3 KB; the libraries: GSAP 28 KB.
Tested on 29 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.
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.