
Blinds over images
Images, Scroll
Scroll inside the preview
The “Our story” page of Orsa, a made-up furniture and lighting studio, on warm paper: as you scroll a thin vertical timeline draws itself and at every year (2014, 2017, 2020, 2024) a photo opens from a slit of light, the year rolls on its drum and a sentence rises word by word; the photo before steps back and loses its colour. The four photos are real (CC0, from StockSnap), with a breath of film grain.
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>
<!--
"Studio story timeline" 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>Our story, with photos opening from a slit</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 "Our story" page of Orsa, a made-up studio for furniture and light. Scrolling down, the stage stays still:
a thin vertical line draws itself, and at every year a photo opens from a thin slit, the year rolls like a drum
and a short sentence comes in beside it, while the photo before it steps back and loses its colour -->
<header class="barra">
<p class="marchio">
<svg class="marchio__segno" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3.5a8.5 8.5 0 1 0 0 17" /><path d="M12 7.5a4.5 4.5 0 0 1 0 9" /></svg>
Orsa
</p>
<nav class="barra__voci" aria-label="Main">
<a href="#">Work</a>
<a href="#" aria-current="page">Story</a>
<a href="#">Visit</a>
</nav>
</header>
<main>
<section class="apertura">
<p class="piccolo">Orsa, a studio for furniture and light</p>
<h1 class="titolo">Our story, <em>in four rooms.</em></h1>
<p class="piccolo piccolo--tenue">
Scroll to walk through them
<svg class="giu" viewBox="0 0 12 16" aria-hidden="true"><path d="M6 1v13M1.5 9.5 6 14l4.5-4.5" /></svg>
</p>
</section>
<section class="racconto" data-racconto>
<div class="palco">
<div class="scena">
<div class="linea" data-linea aria-hidden="true">
<i class="linea__vuota"></i>
<i class="linea__piena" data-piena></i>
<i class="linea__testa" data-testa></i>
<ol class="linea__anni">
<li data-tacca><i></i><span>2014</span></li>
<li data-tacca><i></i><span>2017</span></li>
<li data-tacca><i></i><span>2020</span></li>
<li data-tacca><i></i><span>2024</span></li>
</ol>
</div>
<figure class="foto">
<div class="foto__vetro" data-vetro>
<div class="scatto" data-scatto data-scena="bottega"><i class="scatto__ombra"></i><div class="scatto__maschera"><img src="bottega.webp" alt="The first workshop: a wall of hand tools above the bench" width="960" height="640" decoding="async"></div></div>
<div class="scatto" data-scatto data-scena="negozio"><i class="scatto__ombra"></i><div class="scatto__maschera"><img src="negozio.webp" alt="The first shop: an Open sign hanging in the door glass" width="960" height="640" decoding="async"></div></div>
<div class="scatto" data-scatto data-scena="pranzo"><i class="scatto__ombra"></i><div class="scatto__maschera"><img src="pranzo.webp" alt="A long lunch seen from above: plates, glasses and many hands" width="960" height="720" decoding="async"></div></div>
<div class="scatto" data-scatto data-scena="studio"><i class="scatto__ombra"></i><div class="scatto__maschera"><img src="studio.webp" alt="The new studio in soft daylight, with tall windows" width="960" height="640" decoding="async"></div></div>
<i class="labbro" data-labbro aria-hidden="true"></i>
<i class="labbro" data-labbro aria-hidden="true"></i>
</div>
<figcaption class="didascalie">
<span data-didascalia>The workshop above the bakery</span>
<span data-didascalia>Weller Street, the first winter</span>
<span data-didascalia>Studio lunch, late summer</span>
<span data-didascalia>The canal studio, morning</span>
</figcaption>
</figure>
<div class="testo">
<p class="etichetta">Our story</p>
<p class="anno" data-anno aria-hidden="true">
<span class="anno__fissa">2</span><span class="anno__fissa">0</span><span class="rullo"><span class="striscia" data-striscia></span></span><span class="rullo"><span class="striscia" data-striscia></span></span>
</p>
<div class="frasi">
<p class="frase" data-frase data-anno-frase="2014"><span class="nascosto">2014. </span>It started with two chairs and a borrowed lathe.</p>
<p class="frase" data-frase data-anno-frase="2017"><span class="nascosto">2017. </span>Our first shop opened on Weller Street. The lights stayed on late.</p>
<p class="frase" data-frase data-anno-frase="2020"><span class="nascosto">2020. </span>Twelve of us now, and a habit of long lunches.</p>
<p class="frase" data-frase data-anno-frase="2024"><span class="nascosto">2024. </span>A new studio by the canal, built around the light.</p>
</div>
</div>
</div>
</div>
</section>
<section class="apertura apertura--fine">
<h2 class="titolo titolo--medio">Come and see <em>the studio.</em></h2>
<a class="pulsante" href="#"><span>Book a visit</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4" /></svg></a>
</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.
44 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 “Studio story timeline” from Animorio and fit it into my siteThe section is 560vh tall and a 100vh sticky stage stays still inside it. A GSAP timeline tied to the scroll with scrub SCRUB moves numbers, not elements: the ink of the line, the opening and stepping back of each photo, the two rolling digits, the entry and exit of each sentence. On every update a single function rewrites everything from those numbers.
Each photo has a mask with a clip-path inset. In the first part of the opening the sides open (from 50% to 0) leaving a line SLIT pixels tall; then with expo.inOut the top and bottom open, in pixels measured on the photo and recalculated on resize. Two thin lines of light follow the edges of the slit and fade as it opens, and the photo inside goes from ZOOM to 1.
Each print holds an img with object-fit cover inside the mask: the four photos are light webp files of about 960 pixels, under CC0 (StockSnap), and can be swapped without touching the script. On top of the photo a ::before pseudo-element lays film grain: the script paints a 160-pixel noise canvas once, hands it to the CSS as a variable and tiles it in overlay mode at the strength GRAIN, so the four photos look like the same roll of film.
The last two digits are two strips of numbers inside a 1em window: they move by -n em. The fourth digit has twenty numbers and always counts forward, so 2017 goes to 2020 through 8 and 9. The tween uses ROLL (back.out) for the small bounce on arrival, and while the strip runs it blurs a little with its speed.
The photo before shrinks down to RECEDE, rises by 4% and takes a grayscale (GREY), brightness and contrast filter; its soft shadow is a separate element, because the clip-path would cut it.
| Name | File | Default | What it changes |
|---|---|---|---|
SLIT | script.js | 2 | How thin the slit is before it opens, in pixels. |
ZOOM | script.js | 1.16 | How zoomed in the photo is when it starts to open. |
RECEDE | script.js | 0.84 | How small the photo before gets. |
GREY | script.js | 1 | How much colour the photo before loses (0 = keeps it all). |
ROLL | script.js | 'back.out(1.5)' | The curve of the year rolling on its drum. |
GRAIN | script.js | 0.06 | How much film grain lies on the photos. |
SCRUB | script.js | 0.9 | How many seconds the story takes to catch up with the scroll. |
For the “About us” or “Our story” page of a studio, a design brand, a family business, a restaurant or a hotel with a few years behind it: when archive photos are the story. Swap the photos in the four img tags of the HTML (the webp files in the folder); the colours are in :root.
The same animations at adapted sizes: the photo sits on top, measured on width and height, the year and the sentence under it side by side, the timeline stays on the left without the years written beside the ticks.
No movement: the line is already drawn, the photos are already open and cross-fade from one to the next, the year and the sentence change with a fade.
GSAP 3.15.0, ScrollTrigger 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.5 KB; the libraries: GSAP + ScrollTrigger 45 KB.
Tested on 5 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.