
Blinds over images
Images, Scroll
Scroll inside the preview
The page of a survey by the Larkfield Foundation, a made-up foundation: as you scroll the stage pins and twelve tiles, eight real photos of the places people reach and four earth coloured squares, bloom one by one on a ring around a question. The ring turns half a circle while every photo stays upright, the paper turns yellow, the answer takes the place of the question and in the end the tiles fly away. Inspired by the Where Opportunity Takes Root site.
Rebuilt from scratch studying opportunity.waltonfamilyfoundation.org by Gladeye: 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>
<!--
"Photo 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="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Larkfield Foundation, the photo ring</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/opsz.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/opsz-italic.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- a page of the Open Doors Survey of the Larkfield Foundation, a made-up foundation. In the middle a stage stays
pinned while you scroll: photos of the places people reach (a library, a park, a bus, a market) and a few earth
coloured tiles bloom one by one on a ring around a question, the ring turns half a circle while every tile stays
upright, the paper warms to yellow and the answer replaces the question, then the tiles fly out -->
<header class="testa" data-entra>
<p class="testa__marca">
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M4 17V8.5L10 3l6 5.5V17" /><path d="M8.2 17v-4.6h3.6V17" /></svg>
Larkfield Foundation
</p>
<p class="testa__voce">The Open Doors Survey</p>
</header>
<section class="apertura" data-apertura>
<p class="occhiello" data-entra>Spring 2026</p>
<h1 class="apertura__titolo" data-entra>Where do small towns <em>open up?</em></h1>
<p class="apertura__frase" data-entra>We asked 4,210 people in 38 small towns which doors they can reach.</p>
<span class="apertura__filo" aria-hidden="true" data-filo></span>
</section>
<section class="cerchio" data-cerchio aria-label="Places people can reach">
<div class="palco" data-palco>
<svg class="orbita" data-orbita aria-hidden="true"><circle data-orbita-cerchio pathLength="1" /></svg>
<div class="anello" data-anello>
<figure class="tessera tessera--foto" data-tessera data-l="0.15" data-r="1.235" data-nome="Library" data-dato="71%">
<div class="tessera__galla" data-galla><div class="tessera__dentro">
<img src="sala-di-lettura.webp" width="720" height="583" alt="A busy library reading room with people at long tables">
</div></div>
<figcaption class="tessera__nota"><span>Library</span><b>71%</b></figcaption>
</figure>
<figure class="tessera tessera--colore tessera--ocra" data-tessera data-l="0.07" data-r="1" aria-hidden="true">
<div class="tessera__galla" data-galla><div class="tessera__dentro"></div></div>
</figure>
<figure class="tessera tessera--foto" data-tessera data-l="0.14" data-r="1.5" data-nome="Park" data-dato="64%">
<div class="tessera__galla" data-galla><div class="tessera__dentro">
<img src="viale.webp" width="720" height="480" alt="An avenue of trees in a park, leaves on the path">
</div></div>
<figcaption class="tessera__nota"><span>Park</span><b>64%</b></figcaption>
</figure>
<figure class="tessera tessera--foto" data-tessera data-l="0.1" data-r="0.8" data-nome="Bus line" data-dato="38%">
<div class="tessera__galla" data-galla><div class="tessera__dentro">
<img src="autobus.webp" width="720" height="480" alt="A yellow bus on a city street in falling snow">
</div></div>
<figcaption class="tessera__nota"><span>Bus line</span><b>38%</b></figcaption>
</figure>
<figure class="tessera tessera--colore tessera--ottanio" data-tessera data-l="0.058" data-r="0.66" aria-hidden="true">
<div class="tessera__galla" data-galla><div class="tessera__dentro"></div></div>
</figure>
<figure class="tessera tessera--foto" data-tessera data-l="0.145" data-r="1.5" data-nome="Market" data-dato="52%">
<div class="tessera__galla" data-galla><div class="tessera__dentro">
<img src="mercato.webp" width="720" height="480" alt="Crates of berries and tomatoes at a farmers market">
</div></div>
<figcaption class="tessera__nota"><span>Market</span><b>52%</b></figcaption>
</figure>
<figure class="tessera tessera--foto" data-tessera data-l="0.105" data-r="1" data-nome="Trails" data-dato="47%">
<div class="tessera__galla" data-galla><div class="tessera__dentro">
<img src="sentiero.webp" width="720" height="480" alt="A hiker walking a grass path towards the hills">
</div></div>
<figcaption class="tessera__nota"><span>Trails</span><b>47%</b></figcaption>
</figure>
<figure class="tessera tessera--colore tessera--salvia" data-tessera data-l="0.088" data-r="1.45" aria-hidden="true">
<div class="tessera__galla" data-galla><div class="tessera__dentro"></div></div>
</figure>
<figure class="tessera tessera--foto" data-tessera data-l="0.14" data-r="1.78" data-nome="Book swap" data-dato="29%">
<div class="tessera__galla" data-galla><div class="tessera__dentro">
<img src="scaffale.webp" width="720" height="405" alt="Two people smiling through a gap in a bookshelf">
</div></div>
<figcaption class="tessera__nota"><span>Book swap</span><b>29%</b></figcaption>
</figure>
<figure class="tessera tessera--foto" data-tessera data-l="0.12" data-r="1.33" data-nome="Main Street" data-dato="58%">
<div class="tessera__galla" data-galla><div class="tessera__dentro">
<img src="strada.webp" width="720" height="479" alt="A busy main street with a red bus and people crossing">
</div></div>
<figcaption class="tessera__nota"><span>Main Street</span><b>58%</b></figcaption>
</figure>
<figure class="tessera tessera--colore tessera--argilla" data-tessera data-l="0.066" data-r="1" aria-hidden="true">
<div class="tessera__galla" data-galla><div class="tessera__dentro"></div></div>
</figure>
<figure class="tessera tessera--foto" data-tessera data-l="0.13" data-r="1.5" data-nome="Riverside" data-dato="44%">
<div class="tessera__galla" data-galla><div class="tessera__dentro">
<img src="panchina.webp" width="720" height="473" alt="A woman reading on a red bench between the trees">
</div></div>
<figcaption class="tessera__nota"><span>Riverside</span><b>44%</b></figcaption>
</figure>
</div>
<div class="centro">
<div class="voce" data-voce="domanda">
<p class="occhiello" data-occhiello>The question</p>
<p class="voce__titolo" data-parole>What does an <em>open door</em> look like?</p>
</div>
<div class="voce" data-voce="risposta" aria-hidden="true">
<p class="occhiello" data-occhiello>What we heard</p>
<p class="voce__titolo" data-parole>For <em>seven in ten,</em> one is a short walk away.</p>
</div>
</div>
</div>
</section>
<section class="chiusura" data-chiusura>
<p class="chiusura__frase" data-entra>Libraries came first, then parks and Main Street. The bus came last.</p>
<a class="pillola" href="#" data-pillola data-entra>
<span class="pillola__fondo" aria-hidden="true"></span>
<span class="pillola__testo" aria-hidden="true"><span class="pillola__riga">Read the survey</span><span class="pillola__riga">Read the survey</span></span>
<span class="sr">Read the survey</span>
<svg class="pillola__freccia" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9.5M8.5 4l4 4-4 4" /></svg>
</a>
<p class="chiusura__nota" data-entra>4,210 people in 38 towns of under 20,000, March to April 2026.</p>
</section>
<div class="grana" aria-hidden="true"></div>
<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.
56 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 “Photo ring” from Animorio and fit it into my siteThe radius is 0.42 times the short side of the stage, and the tiles are a share of the short side too (from 0.058 to 0.15, with their proportion in data-r): so the ring always fits the screen, even on a phone turned sideways. The angles start at the top and are 2π / n apart, nudged by a fixed number taken from a sine, as the site does, so they look placed by hand and stay the same on every visit.
A ScrollTrigger pins the stage from center center for 300% of the screen, with scrub 0.1, and drives a paused timeline. Each tile goes from scale 0, 0.3 radians further back along the ring, to its place in 1 second with power2.out, half a second after the one before; the positions are functions of the radius and invalidateOnRefresh recomputes them when the window changes.
At the same time the ring container turns from 0 to 180 degrees and every tile from 0 to −180, both with power1.out over 0.5 n + 1 seconds: the two turns cancel out on the tiles, which go round staying upright.
Every frame reads the rotation of the ring: at 180 degrees the body takes the yellow class (a half second transition) and in the middle the question fades out while the answer comes in with masked words, from yPercent 100 and 5 degrees off the bottom left, 0.025 seconds apart, in 0.75 seconds with back.out(1.7). Going back does the opposite.
After a pause the tiles go to twice the radius along their angle, grow to 1.4 and fade, in 2 seconds with power2.in, and the orbit widens and goes out. The stage has overflow: clip, so nothing ever sticks out at the sides.
Each tile has three layers: the outer one is moved by the timeline, the middle one floats 2.5 pixels on its own beat, the inner one answers the pointer in CSS (it lifts 3 pixels, grows to 1.05, the photo sharpens and the label springs out). The photos have soft three-level shadows and a thread of light on the edge; the colour squares have grain.
| Name | File | Default | What it changes |
|---|---|---|---|
RADIUS | script.js | 0.42 | The radius of the ring, as a share of the short side of the screen (the site uses 0.42). |
PIN_LENGTH | script.js | 300 | How long the stage stays pinned, in percent of the screen height (the site uses 300). |
SCRUB | script.js | 0.1 | The seconds the ring takes to catch up with the scroll (the site uses 0.1). |
TURN | script.js | 180 | The degrees the ring turns while the tiles stay upright (the site uses 180). |
BLOOM_FROM | script.js | 0.3 | How far back along the ring a tile starts, in radians, before it blooms into place (the site uses 0.3). |
STAGGER | script.js | 0.5 | The gap between one tile blooming and the next, in timeline seconds (the site uses 0.5). |
FLY_OUT | script.js | 2 | How far the tiles fly at the end, as a multiple of the radius (the site uses 2). |
FLY_SCALE | script.js | 1.4 | How big the tiles grow while they fly out (the site uses 1.4). |
DRIFT | script.js | 2.5 | The pixels each tile floats up and down on its own. |
SMOOTH | script.js | 1.2 | The seconds of the smooth scroll (the site uses 1.2; 0 turns it off). |
For the page of a report, a survey, a foundation or a community project: a moment halfway through the read that gathers many photos in one gesture and bridges a question and its answer.
On a phone the ring is measured on the short side, so on the width, and stays all on screen; the tiles are smaller but in the same proportion, and the question and the answer sit in the empty middle. Scrolling with a finger drives everything with the same numbers; the photo labels stay on pointer hover, so only on a computer.
The ring is already in place, still and upright, with the orbit drawn and the question in the middle; no pin, no turn, no flight, the scroll is not smoothed and the tiles do not float.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Newsreader (font variabile) 5.3.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.3 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 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.