
Hour over the photo
Scroll, Images, Text
Scroll inside the preview
A pinned scene where projects go by one at a time: the current one big in the centre, its neighbours small above and below, and a ring filling towards the next.
Rebuilt from scratch studying meermohsin.me by Meer Mohsin: 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>
<!--
"Projects with a ring" 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="it">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Progetti in fila con l'anello</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/standard.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<section class="apertura">
<p class="sopra">Lavori</p>
<p class="grande">Scorri: i progetti passano in fila, uno alla volta, e l'anello conta quanto manca al prossimo.</p>
</section>
<section class="corsa">
<!-- due fondi sfocati che si danno il cambio: il progetto corrente, grande e fuori fuoco -->
<div class="fondo" aria-hidden="true"><div class="fondo__strato"></div><div class="fondo__strato"></div></div>
<div class="testi" aria-hidden="true">
<p class="sopra">Lavori scelti</p>
<h2 class="nome"></h2>
<p class="descrizione"></p>
</div>
<ol class="fila">
<li class="carta q1" data-nome="Frantoio Alto" data-testo="Il sito di un frantoio di collina: la raccolta raccontata settimana per settimana."><span class="sr">Frantoio Alto: Il sito di un frantoio di collina: la raccolta raccontata settimana per settimana.</span></li>
<li class="carta q2" data-nome="Casa Rota" data-testo="Un albergo diffuso in un borgo di pietra, prenotazioni comprese."><span class="sr">Casa Rota: Un albergo diffuso in un borgo di pietra, prenotazioni comprese.</span></li>
<li class="carta q3" data-nome="Cantina Selva" data-testo="Vini naturali e una mappa delle vigne che si esplora scorrendo."><span class="sr">Cantina Selva: Vini naturali e una mappa delle vigne che si esplora scorrendo.</span></li>
<li class="carta q4" data-nome="Atlante Verde" data-testo="Un erbario digitale con trecento piante disegnate a mano."><span class="sr">Atlante Verde: Un erbario digitale con trecento piante disegnate a mano.</span></li>
<li class="carta q5" data-nome="Forno Aurora" data-testo="Il forno del quartiere: ordini la sera, ritiri il pane al mattino."><span class="sr">Forno Aurora: Il forno del quartiere: ordini la sera, ritiri il pane al mattino.</span></li>
</ol>
<div class="anello" aria-hidden="true">
<svg viewBox="0 0 80 80">
<circle class="anello__base" cx="40" cy="40" r="35" />
<circle class="anello__pieno" cx="40" cy="40" r="35" />
<path class="anello__freccia" d="M40 29v20M32 42l8 8 8-8" />
</svg>
</div>
</section>
<section class="coda">
<p class="grande">Tutti i progetti sono passati. Torna su per rivederli.</p>
</section>
</main>
<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="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.
27 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 “Projects with a ring” from Animorio and fit it into my siteScrollTrigger pins the section for N screen heights (one per project). In onUpdate, progress times N gives a number like 2.4: the integer part is the current project, the decimal part is how far the next one is.
A posto(r) function says where a card sits at distance r from the current one: r = 0 centred and full, r = ±1 small and faded above or below, further away almost invisible. On change every card goes to its place with power3.out and overwrite, so fast changes do not pile up.
An SVG circle with stroke-dasharray equal to the circumference (2π times 35); stroke-dashoffset follows the decimal part of the progress. It says how much is left without counting the projects.
Name and description are rewritten into spans, one word each, and rise staggered. The background is two heavily blurred layers taking turns: one lights up with the new project while the other fades.
| Name | File | Default | What it changes |
|---|---|---|---|
SALTO | script.js | 0.36 (0.28 sul telefono) | How far from the centre the neighbouring cards sit, as a fraction of the scene's height. |
PICCOLE | script.js | 0.34 | The scale of the neighbouring cards. |
DURATA | script.js | 0.7 | Seconds for each change: cards, words and background. |
data-nome / data-testo | index.html | cinque progetti | Name and description of every project, written on its card. |
To show three to seven pieces of work calmly, one at a time, when each deserves its moment. With many projects the run gets long: a grid is better.
The text moves to the top and the cards below, wider; the gap between cards shrinks so they do not touch the text.
The scene stays pinned but the changes are instant: no sliding, no rising words.
GSAP 3.15.0, ScrollTrigger (GSAP) 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 4.3 KB; the libraries: GSAP + ScrollTrigger 45 KB.
Tested on 26 September 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.