
Logo loader
Transitions, SVG, Text
The ‘Our journey’ section of a private credit fund from Madrid, Cumbre Credit: a white card with a wide window that opens from its middle and plays a film made of four real photographs of Madrid at four hours of one day, the sun over the roofs at dawn, the tower under the morning clouds, the towers in the blue afternoon sky, the night with every window lit, dissolving into each other with a slow push-in and grain. Below, seven years as pills with a puck that slides on a spring. Picking a year runs the film forward or back to its hour, the four red serif digits roll like an odometer with a thread of vertical motion blur and two lines of milestone come in word by word from below.
Rebuilt from scratch studying tresmarescapital.com by Dgrees: 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>
<!--
"Fund 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>Cumbre Credit, our journey</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/full.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/inter-tight@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the "Our journey" block of a made-up private credit fund from Madrid, Cumbre Credit. A wide window opens from
its middle and plays a film made of four real photographs of
the city at four hours of one day, from the sun at dawn to the night with every window lit, crossing in a slow
dissolve. Each of the seven years is a point of that day: picking a year runs the film forward or back
to it, the four red digits roll like an odometer and two lines of milestone come in word by word. -->
<main class="stage">
<section class="journey" data-journey aria-label="Our journey">
<header class="journey__head">
<span class="brand">
<svg class="brand__mark" viewBox="0 0 24 16" aria-hidden="true">
<path class="brand__peak" d="M1.5 14.5L9 4l3.6 5L15.4 6l7.1 8.5"/>
<path class="brand__base" d="M1.5 14.5h21"/>
</svg>
<span class="brand__name">Cumbre Credit</span>
</span>
<span class="journey__label">Our journey</span>
</header>
<div class="film" data-film>
<span class="film__shadow" data-shadow aria-hidden="true"></span>
<div class="film__clip" data-clip>
<canvas class="film__canvas" data-canvas aria-hidden="true"></canvas>
<span class="film__sheen" aria-hidden="true"><span class="film__sheen-band" data-sheen></span></span>
<span class="film__edge" aria-hidden="true"></span>
<span class="film__chip" aria-hidden="true">
<span class="film__city">Madrid</span>
<span class="film__hour" data-hour>05:54</span>
</span>
<span class="film__ruler" aria-hidden="true" data-ruler>
<span class="film__head" data-playhead></span>
</span>
</div>
</div>
<div class="journey__row">
<div class="year" data-year aria-hidden="true">
<span class="year__inner" data-year-inner></span>
</div>
<div class="mile" data-mile>
<p class="mile__title" data-mile-title></p>
<p class="mile__line" data-mile-line></p>
</div>
</div>
<nav class="pills" data-pills aria-label="Years">
<span class="pills__puck" data-puck aria-hidden="true"></span>
</nav>
</section>
<p class="sr" aria-live="polite" data-live></p>
</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.
22 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 “Fund timeline” from Animorio and fit it into my siteThe window is a single element with clip-path, and everything inside (the canvas, the glint, the tag, the ruler) is cut together. GSAP takes it from ‘inset(50% round 14px)’ to ‘inset(20% round 14px)’ in 1.4 s expo.out, as on the site, then to ‘inset(0% round 14px)’ in 1.2 s expo.inOut. The shadow is a separate blurred element under the window, because an element with clip-path cuts its own shadow too.
Each digit is a window one character tall with overflow hidden; inside, a column with the ten figures placed at top: n × 100%. To show figure n the column goes to yPercent −100 × n in 1.4 s expo.out: the site's own formula. The four columns start 0.035 s apart and at the opening they roll from 0000 to the first year.
Every frame gsap.getProperty reads how far each column moved and the speed becomes the --mb variable: four red text-shadows above and below the figure, further and stronger the faster it goes, and a touch of scaleY. A separate tween moves the row two pixels past its mark and brings it back with elastic.out.
The film is not a video: it is four real photographs of Madrid drawn on a canvas that depends on one number, p from 0 to 1. Each year sits at p = i / 7 (the length divided by the years, times the index, like currentTime on the site) and GSAP tweens p in 1.4 s expo.out: so the film runs forward or back. Each photo has its point of the day (2014, 2016, 2020 and 2023) and dissolves into the next during the year before it, with smoothstep: every year stops on a clean photo, never halfway. The arriving photo is drawn over the one that stays full, so the crossing never goes darker.
Each photo fits the window like object-fit: cover, with a point to keep (fx, fy) chosen per photo, and slowly pushes in as the day goes on, plus a breath of a few thousandths. Over it lies the light of the hour in soft-light (warm at dawn, cold at night), a warm leak in ‘lighter’ only while two photos cross, a vignette and three tiles of grain swapped in overlay. The shadow under the window takes the colour of the photo that is on.
The puck under the years is not a tween: its position and width follow the active button with a spring integrated every frame (stiffness 260, damping 22), and it squashes a little in height while it runs. The pixel sizes are read again on resize.
| Name | File | Default | What it changes |
|---|---|---|---|
ROLL | script.js | 1.4 | Seconds the digits and the film take to reach the new year (expo.out). |
DIGIT_STAGGER | script.js | 0.035 | Delay between one digit and the next, in seconds. |
BLUR | script.js | 1 | How much vertical motion blur the rolling digits leave (0 none). |
SETTLE | script.js | 2 | How many pixels the year passes its mark before settling. |
OPEN_INSET | script.js | 20 | The inset (%) the window opens to first, before widening to the full frame. |
GRAIN | script.js | 0.11 | The film grain (0 none). |
STIFFNESS | script.js | 260 | The spring of the puck under the years: higher is quicker. |
DAMPING | script.js | 22 | Lower lets the puck pass the year and come back. |
STEP | script.js | 3.3 | Seconds each year stays before the next one picks itself. |
LOOP | script.js | true | Go round the years again and again. |
For the ‘about us’ page of a fund, a bank, a studio or a company with a story told year by year; for the editions of a festival or a fair; for the history of a product in a dashboard. When the dates are few (five to eight), each with a sentence, and the image should change with the year.
The same animation with adapted sizes: the card takes the width of the screen, the window stays 2.15 times as wide as it is tall but never taller than 42% of the screen, the year is measured on width and height (min(11vw, 12.5vh), at least 40 pixels), the milestone lines wrap beside the year and the seven years share the row in equal parts. The film is drawn with fewer pixels, the photos keep their point (the towers stay in frame) and the grain gets lighter.
The window is already open and the card fades in. Changing year the film moves to the new hour through a fade instead of running, the digits fade out and back in already right, the milestone lines change with a fade and the puck jumps straight under the year.
GSAP 3.15.0, Fraunces (font variabile) 5.3.0, Inter Tight (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 11 KB; the libraries: GSAP 28 KB.
Tested on 9 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.