Skip to content
animorio
IT
Back to the library

Two-column work wall

Images, ScrollGSAP, CSS onlyMediumCompressed weight: Demo 10.0 KBGSAP 28 KBFreeDownload the zip

The work page of an invented creative studio, Field & Form, inside a dark card on warm paper: two columns of covers with real photos drift for ever, the left one up and the right one down at 70%, and the wheel pushes them both. The column under the pointer brakes on a spring and stops; the cover rounds its corners, the photo grows by 8%, the others dim and the caption (client, year, discipline) rises letter by letter, while the name rolls into the foot of the card.

Rebuilt from scratch studying loloagency.com by The Agency of Love & Logic, Stas Bondar: 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>
<!--
  "Two-column work wall" 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>The work gallery with two columns drifting in opposite directions</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>
  <main class="stage" data-stage>
    <!-- the work page of an invented creative studio, Field & Form, inside one dark card. Two columns of covers drift
         for ever, the left one up and the right one down at 70% of its speed; the wheel pushes them both. The column
         under the pointer brakes on a spring and stops; the cover under it rounds its corners, its photo grows by 8%
         and the caption (client, year, discipline) rises letter by letter -->
    <section class="wall" data-wall aria-label="Field & Form, selected work">
      <header class="wall__head">
        <span class="wall__brand">
          <svg class="wall__mark" viewBox="0 0 20 20" aria-hidden="true">
            <path class="wall__mark-a" d="M3 3h8.5v14H3z"/>
            <path class="wall__mark-b" d="M13.5 3a3.5 3.5 0 0 1 0 7 3.5 3.5 0 0 1 0-7zM10 13h7v4h-7z"/>
          </svg>
          <span>Field &amp; Form</span>
        </span>
        <nav class="wall__nav" aria-label="Studio">
          <span class="wall__tab is-on">Work</span>
          <span class="wall__tab">Studio</span>
          <span class="wall__tab">Contact</span>
        </nav>
      </header>

      <div class="wall__window" data-window>
        <div class="col" data-col="up">
          <div class="col__track" data-track>
            <a class="tile" href="#" data-ratio="1.15" data-client="Kova Furniture" data-year="2025" data-field="Product photography">
              <span class="tile__frame"><img src="sedia.webp" alt="A white shell chair on oak legs against a pale wall" width="800" height="1219" style="object-position: 50% 62%"></span>
            </a>
            <a class="tile" href="#" data-ratio="1.3" data-client="Ume Ceramics" data-year="2025" data-field="Art direction">
              <span class="tile__frame"><img src="vaso.webp" alt="A round white glazed jar on a grey backdrop" width="800" height="748"></span>
            </a>
            <a class="tile" href="#" data-ratio="1.45" data-client="Wren Outerwear" data-year="2024" data-field="Campaign">
              <span class="tile__frame"><img src="cappuccio.webp" alt="A person in a dark hooded coat and knitted hat, seen from the side on white" width="800" height="533" style="object-position: 26% 50%"></span>
            </a>
            <a class="tile" href="#" data-ratio="0.86" data-client="Mirela Café" data-year="2026" data-field="Interior and identity">
              <span class="tile__frame"><img src="caffe.webp" alt="Two wooden chairs and small round tables in the low sun against a rough grey wall" width="800" height="1200"></span>
            </a>
            <a class="tile" href="#" data-ratio="1.35" data-client="Tessel Architects" data-year="2023" data-field="Identity">
              <span class="tile__frame"><img src="gradini.webp" alt="Concrete steps and thin steel handrails casting long shadows" width="800" height="533"></span>
            </a>
          </div>
        </div>
        <div class="col" data-col="down">
          <div class="col__track" data-track>
            <a class="tile" href="#" data-ratio="1.05" data-client="Casa Arenal" data-year="2025" data-field="Editorial">
              <span class="tile__frame"><img src="scala.webp" alt="A stone staircase curving under an arch in warm light" width="800" height="763"></span>
            </a>
            <a class="tile" href="#" data-ratio="1.4" data-client="Oleum Skin" data-year="2026" data-field="Branding">
              <span class="tile__frame"><img src="flacone.webp" alt="A small amber dropper bottle on white" width="800" height="534"></span>
            </a>
            <a class="tile" href="#" data-ratio="0.92" data-client="Verde Retreat" data-year="2026" data-field="Campaign">
              <span class="tile__frame"><img src="giardino.webp" alt="A woman seen from behind walking down a garden path between tall plants" width="800" height="533" style="object-position: 46% 50%"></span>
            </a>
            <a class="tile" href="#" data-ratio="1.25" data-client="Brannt Silver" data-year="2023" data-field="Packaging">
              <span class="tile__frame"><img src="caffettiera.webp" alt="A polished silver coffee pot with a wooden handle on grey" width="800" height="800"></span>
            </a>
            <a class="tile" href="#" data-ratio="1.2" data-client="Hollis Room" data-year="2024" data-field="Spatial design">
              <span class="tile__frame"><img src="stanza.webp" alt="A single woven wooden chair in an empty white room" width="800" height="1067" style="object-position: 50% 70%"></span>
            </a>
          </div>
        </div>
        <span class="wall__fade wall__fade--top" aria-hidden="true"></span>
        <span class="wall__fade wall__fade--bottom" aria-hidden="true"></span>
      </div>

      <footer class="wall__foot">
        <span class="wall__now" aria-hidden="true"><span class="wall__now-roll" data-now>Selected work</span></span>
        <span class="wall__drift" aria-hidden="true">
          <svg class="wall__arrow" viewBox="0 0 10 10"><path d="M5 8.5V1.8M2.2 4.4 5 1.6l2.8 2.8"/></svg>
          <span class="wall__meter"><span class="wall__meter-fill" data-meter="up"></span></span>
          <span class="wall__meter"><span class="wall__meter-fill" data-meter="down"></span></span>
          <svg class="wall__arrow" viewBox="0 0 10 10"><path d="M5 1.5v6.7M2.2 5.6 5 8.4l2.8-2.8"/></svg>
        </span>
      </footer>

      <svg class="pointer" data-pointer viewBox="0 0 24 24" aria-hidden="true">
        <path class="pointer__shape" d="M5.2 3.2v15.6l4.1-3.9 2.6 6.1 2.9-1.2-2.6-6h5.7z"/>
      </svg>
    </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>

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.

23 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 “Two-column work wall” 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

On sand coloured paper with a soft light from above sits a dark, almost black card, with a one pixel edge catching the light, an amber haze in the corner and a fine grain. At the top the mark of the Field & Form studio, a light rectangle and two amber shapes, and a pill with Work, Studio and Contact, Work lit. Inside, two columns of covers with photos of the work: a white chair, a glazed jar, a hooded person seen from the side, two chairs in the sun of a cafe, concrete steps, a stone staircase under an arch, an amber bottle, a garden, a silver coffee pot, a wooden chair in an empty room. The left column comes in from below and the right from above, one cover after another. Then they drift on their own and never end: the left rises by 0.2 pixels a frame, the right goes down at 70%, and at the top and bottom they fade into the black. The wheel pushes them both, each by its own share, and a soft catch up brings them where they should be. A drawn pointer enters the left column: the column brakes on a spring and stops, the cover beneath rounds its corners, the photo grows by 8%, lifts on a soft shadow, the other covers dim, and the caption rises from below, Ume Ceramics letter by letter, then the year in amber and the discipline; a glass circle appears in the top corner with its arrow turning upright, and in the foot of the card the name rolls in where Selected work was. The pointer moves to the right column, the left one starts again on its spring, another cover opens and the pointer presses it: the cover gives and comes back with a bounce. Then it goes down to the foot and flicks the wheel three times: the columns run and the two amber lines in the foot, one per column, stretch with the speed and shrink back. When a real pointer arrives, the drawn one disappears and the wall answers the mouse, the wheel and a finger.

How it works

Each column written twice

The covers of a column are repeated once at the bottom of the same column. The height of one run, H, is the distance between the first cover and its copy, gap included: once the column has moved by H you see exactly what you saw at the start, and it can begin again without a jump.

One tween with a modifier, driven by progress()

As on the site, each column has a paused tween that takes y from 0 to −H (the right one from −H to 0) with modifiers that wrap y between −H and 0. The tween is never played: every frame calls progress(wrap(0, 1, position / H)), so the column can go on for ever.

Target, catch up and brake

Each column has a target and a position. Every frame the target moves on by 0.2 pixels (0.14 on the right) times a factor k, and the position catches up by 10% of the distance (lerp 0.1, worked out on real time). The wheel adds deltaY times 0.9 to the target (and 70% of that on the right), a finger twice as far as it moves. k goes from 1 to 0 on a spring while the pointer is over the column and back to 1 when it leaves: the column brakes and sets off again instead of stopping dead.

The cover as one variable

Like the site's hovers, GSAP animates only --p from 0 to 1 (power3, 0.6 s) and brings it back to 0 one and a half times faster. CSS does the rest: the corner radius, the photo growing by 8%, the shadow spreading, the veil under the caption, the edge lighting up and the circle whose arrow turns upright.

The caption letter by letter, and the foot

The client's name is split into letters inside a line with overflow: clip, and the letters rise from yPercent 115 to 0 with a 0.02 stagger; the year and the discipline follow. In the foot the name leaves upward and comes in from below with a hair of bounce, and two amber lines measure the real speed of each column.

Values to change

NameFileDefaultWhat it changes
SPEEDscript.js0.2How many pixels a frame the left column rises on its own (0.2 as on the site).
RATIOscript.js0.7The right column's speed, as a share of the left one.
WHEELscript.js0.9How far one wheel step pushes: deltaY times this.
LERPscript.js0.1How much of the way each column catches up in one frame: higher is snappier.
GROWscript.js0.08How much the photo grows under the pointer: 0.08 is 8%.
ROUNDscript.js12How many pixels the corners round under the pointer.
STIFFNESSscript.js90The brake's spring: higher stops the column sooner.
DAMPINGscript.js12Lower lets the column roll back a hair before it settles.

Try them in the Playground

When to use it

For the work page of a studio, an agency, a photographer or a furniture brand: when many projects must fit in a small space, always moving, and visitors should be able to stop one and read its client, year and discipline without leaving the page.

On phones

The same animation with adapted sizes: the card is almost as wide as the screen and at most 90% of the window tall, the covers narrow with the columns, the type and the corners get smaller. You drag the columns with a finger, which pushes them twice as far as it moves; a tap on a cover stops it and opens it with its caption, another tap closes it.

With reduced motion

No movement: the columns stay still, the wheel does not move them, the photos do not grow; under the pointer the cover rounds its corners and the caption fades in, and the name in the foot changes with a fade.

Pitfalls

  • H is not the column's height divided by two: it is the distance between the first cover and its copy, which includes the gap between the two halves. With just scrollHeight / 2 the column jumps half a gap at every lap.
  • The site's lerp of 0.1 per frame runs twice as fast at 120 Hz: it has to be worked out on real time, 1 − (1 − 0.1) to the power of the frames gone by.
  • The columns move under a still mouse, and the browser does not always send pointerenter to covers that arrive: that is why the column under the pointer stops, so the cover beneath stays the same.
  • GSAP reads the --p variable from CSS only if it is there: it has to be declared as 0 in the cover's rule, or the first hover starts from an empty value.
  • The caption letters must be hidden with GSAP (yPercent 115) and not with a transform in CSS: GSAP would read that transform as pixels, and yPercent 0 would then leave the letters down.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 10.0 KB; the libraries: GSAP 28 KB.

Testing

Tested on 6 November 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