Skip to content
animorio
IT
Back to the library

Archive collage

Scroll, ImagesGSAP, CanvasAdvancedCompressed weight: Demo 12 KBGSAP + ScrollTrigger 45 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

The archive of a made-up rowing club, minimal, on a blue-black background: as you scroll, thirty-six objects of the club land on the table one at a time, each with its soft shadow (oars, medals, rosettes, regatta tickets, a membership card, a stopwatch, photographs of boats). Then, three times, the camera flies onto one object, straightens it and lifts it above a veil, with a line of text and its museum label.

Rebuilt from scratch studying memorial.fcporto.pt by Significa: the idea is theirs; code, copy and images are ours. Read how it’s made

The code

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>
<!--
  "Archive collage" 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>Halden Rowing Club, the archive</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@5.3.0/index.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/jetbrains-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- the archive of a made-up rowing club, Halden (1891). While you scroll, thirty-six objects of the club land on a
       dark table one at a time: oars, medals, rosettes, regatta tickets, a membership card, pennants, a stopwatch,
       photographs of boats. Then, three times, the camera flies onto one object, straightens it and lifts it above a
       veil, with a line of text and its museum label -->
  <main class="corsa" data-corsa>
    <div class="palco" data-palco>
      <canvas class="tela" data-tela aria-hidden="true"></canvas>

      <header class="testa">
        <span class="marchio">
          <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 20 20 4M4 4l16 16"/><circle cx="12" cy="12" r="10.5"/></svg>
          Halden Rowing Club
        </span>
        <span class="testa__nota">The archive, since 1891</span>
      </header>

      <div class="apertura" data-apertura>
        <p class="etichetta">The club archive</p>
        <h1 class="apertura__titolo">Every object has <em>a crew</em> behind it.</h1>
      </div>

      <div class="riferimento" data-riferimento aria-hidden="true">
        <svg class="riferimento__angoli" data-angoli preserveAspectRatio="none"></svg>
        <span class="riferimento__cartellino" data-cartellino></span>
      </div>

      <div class="ricordi" data-ricordi>
        <article class="ricordo" data-ricordo>
          <p class="etichetta" data-riga>From the archive</p>
          <h2 class="ricordo__titolo" data-riga>The first oar</h2>
          <p class="ricordo__testo" data-riga>Carved from ash for the club’s first race, in the spring of 1891.</p>
        </article>
        <article class="ricordo" data-ricordo>
          <p class="etichetta" data-riga>From the archive</p>
          <h2 class="ricordo__titolo" data-riga>The cox’s stopwatch</h2>
          <p class="ricordo__testo" data-riga>It timed every crew on the river for forty-five years.</p>
        </article>
        <article class="ricordo" data-ricordo>
          <p class="etichetta" data-riga>From the archive</p>
          <h2 class="ricordo__titolo" data-riga>A ticket to the regatta</h2>
          <p class="ricordo__testo" data-riga>One shilling, kept for a century inside a member’s logbook.</p>
        </article>
      </div>

      <div class="chiusura" data-chiusura>
        <h2 class="chiusura__titolo">Thirty-six objects. <em>One river.</em></h2>
      </div>

      <p class="scorri" data-scorri>
        <svg viewBox="0 0 10 14" aria-hidden="true"><path d="M5 1v11M1.5 8.5 5 12l3.5-3.5"/></svg>
        Scroll to open the archive
      </p>
    </div>
  </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="https://cdn.jsdelivr.net/npm/lenis@1.3.26/dist/lenis.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

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.

31 values to change

Or ask your AI assistant for it

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 “Archive collage” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

The archive of a made-up rowing club, Halden, founded in 1891. At first the table is empty and dark, with «Every object has a crew behind it.» in the middle. As you scroll, the title rises and fades and thirty-six objects of the club land on the table, one at a time and in a scattered order: two oars with striped blue blades, medals with their ribbons, rosettes, regatta tickets, a membership card, pennants, a stopwatch, photographs of boats drawn in strokes, a cup, a cap, a striped scarf, envelopes, keys with their tags, a megaphone, a rudder, a coil of rope. Each one appears at once, drops a few pixels and settles, while its shadow tightens. Then three memories: the camera flies onto the first oar, the cox’s stopwatch and a ticket from 1923, each object straightens and lifts above a blue veil that dims the others, four thin corners frame it and the title, a sentence and the museum label arrive beside it. At the end the table is whole again, under a light veil, with «Thirty-six objects. One river.».

How it works

A 1440 by 960 sheet

As on the original site, the objects lie on a 1440 by 960 sheet with their position, rotation in degrees and a scale; the canvas covers it like object-fit: cover. Every object is drawn by hand on the canvas around its centre, with thin lines and the colours read from :root.

A Proxy that redraws

The camera, the veil and every object are plain objects wrapped in a Proxy: every assignment marks the canvas as dirty, and GSAP’s ticker redraws it once per frame. So GSAP animates alpha, drop, zoom and veil directly, without knowing there is a canvas.

One at a time, at once

In the scroll-linked timeline each object goes from alpha 0 to 1 in a thousandth, every FILL_STEP; at the same time it drops DROP pixels and settles with back.out, which takes it a hair too far and puts it back, while its shadow tightens.

The camera on the box

For each memory the camera blends between the whole table and the object: the focus goes from the centre of the sheet to the object’s, the anchor from the centre of the screen to the centre of the reference box, and the zoom grows geometrically until the straightened object fits the box (FIT). It goes there and back with power1.inOut.

The veil between two layers

First the objects are drawn, then the veil in the blue of the background at VEIL opacity, then the chosen object, which stays lit above everything; its shadow stretches as if it were lifted.

Values to change

NameFileDefaultWhat it changes
OBJECTSscript.js36How many objects land on the table (the three chosen ones are always there).
FILL_STEPscript.js0.06How much scroll passes between one object and the next.
DROPscript.js4How high an object falls from before it settles.
VEILscript.js0.85How dark the veil over the other objects gets.
FITscript.js0.86How much of the reference box the chosen object fills.
SCROLL_LENGTHscript.js1000How long the scroll lasts, in screen heights times one hundred.
LERPscript.js0.1How soft Lenis’s scroll is.

Try them in the Playground

When to use it

For the story of a club, a museum, an archive or a brand with a long history: a section that shows many objects all together and then stops to tell a few of them. It also suits the collection of an antiques shop or a craftsperson.

On phones

The same table, covered by the canvas as on a computer; the reference box sits at the top and the text of the memories underneath, smaller. The objects are drawn as vectors and stay sharp when zoomed.

With reduced motion

No Lenis, no camera and no drops: the objects fade in where they lie, and in the memories the chosen object stays where it is, lit above the veil, while the text fades in.

Pitfalls

  • Redrawing on every assignment of the Proxy, as the original site does, means dozens of redraws per frame with thirty-six objects: here the Proxy only marks the canvas as dirty and the ticker redraws once.
  • The zoom has to be interpolated geometrically, not linearly: from 0.6 to 4 in a straight line the camera rushes at first and drags at the end.
  • A blurred shadowBlur shadow on every object, every frame, slows a phone down: a blurred blot is drawn once and stretched under each object.
  • The reference box changes with the window: the camera reads it again on resize and on ScrollTrigger refresh, and it is computed at every draw, not inside the tweens.

Libraries

GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Fraunces (font variabile) 5.3.0, Inter (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 12 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.

Testing

Tested on 29 October 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

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.

All animations