
Woven thread background
Backgrounds, Hover
An animated background for the opening of a design app, in the style of Morphin, on light paper: behind the headline a wall of small product cards (charts, toggles, buttons, palettes, search fields) tilted in perspective, with its columns drifting slowly in alternate directions and fading towards the edges. The pointer slows down the column it is over and lifts the card under it a little.
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>
<!--
"Drifting card 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 background wall of cards drifting in perspective</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 hero of an invented design tool, Driftboard: behind the words a wall of small product cards (charts, toggles,
buttons, palettes) tilted in perspective, its columns drifting slowly in alternate directions. The pointer slows
the column it is over and lifts the card under it a hair -->
<main class="stage" data-stage>
<div class="scene" aria-hidden="true">
<div class="wall" data-wall></div>
</div>
<span class="veil" aria-hidden="true"></span>
<section class="hero" aria-labelledby="hero-title">
<p class="pill" data-in>
<span class="pill__tag">New</span>
<span class="pill__text">Auto layout, now with springs</span>
</p>
<h1 class="title" id="hero-title" data-title>
<span class="line"><span class="word">Every</span> <span class="word">screen,</span></span>
<span class="line"><span class="word">in</span> <span class="word">one</span> <span class="word">place</span></span>
</h1>
<p class="lede" data-in>Driftboard keeps your components, flows and prototypes on one calm canvas.</p>
<div class="actions" data-in>
<button class="cta" type="button" data-cta>
<span class="cta__label">Start designing</span>
<svg class="cta__arrow" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9.5M8.5 4 12.5 8l-4 4"></path></svg>
</button>
<span class="note">Free for two editors</span>
</div>
</section>
<svg class="ghost" data-ghost viewBox="0 0 20 20" aria-hidden="true"><path d="M4 2.5v13.2l3.5-3.3 2.4 5.3 2.3-1-2.4-5.2 4.8-.2z"></path></svg>
</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.
24 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 “Drifting card wall” from Animorio and fit it into my siteThe wall is a row of columns in a container with perspective, tilted with rotationX and turned with rotationZ by GSAP. The cards are not enlarged with scale (the text would turn jagged): their width is computed from the window, so that the wall covers the screen even when tilted.
Each column has its cards twice in a row. An offset grows on every frame with the column’s pace, and the column moves by the remainder of that offset divided by half its height: when the first half has gone out, the second is exactly in its place and the loop cannot be seen.
On every frame elementFromPoint tells which card is under the pointer. Its column aims at 1 and the ones beside it at 0.4; the real value chases the aim by a small fraction per frame, and the column’s speed is multiplied by 1 minus SLOW times that value, so it slows down and starts again softly.
The card under the pointer rises and grows a little with back.out, takes the class with the violet border and the deeper shadow, and when the pointer leaves it goes back with elastic.out. The light veil in the centre and the headline let the pointer through, so the cards behind the headline lift too.
| Name | File | Default | What it changes |
|---|---|---|---|
COLS | script.js | 8 | How many columns of cards the wall has. |
SPEED | script.js | 22 | How many pixels per second a column drifts (0 stops them). |
TILT | script.js | 34 | How many degrees the wall is tilted back. |
TWIST | script.js | 16 | How many degrees the wall is turned to the side. |
SLOW | script.js | 0.85 | How much the column under the pointer slows down (1 stops it). |
LIFT | script.js | 22 | How much the card under the pointer lifts and grows. |
ACCENT | script.js | #5b5bf0 | The accent colour of the cards. |
AUTO_PILOT | script.js | 2.5 | After how many seconds without a pointer the drawn one moves (0 never). |
As the background of the first screen of a product with many screens to show: a design tool, a component library, a dashboard app, a website builder. The wall says «look how much is in here» without stealing the scene from the headline.
The same wall at adapted sizes: the card width is computed from the longer side, so on a phone the cards are small and the wall covers the whole screen; the headline goes on two smaller lines. A finger touching a card slows its column and lifts the card.
The wall stays still, like a photo: no drifting, no rising words and no drawn pointer. Everything fades in, and the card under the pointer only gets the border and the shadow.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.4 KB; the libraries: GSAP 28 KB.
Tested on 28 October 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.