
Projects with a ring
Scroll, Images, Text
The reference library of Commonplace, a made-up studio: polaroids with photos of the things that inspire it (a record player, old books under a lamp, a film camera, a typewriter at night, a notebook, piano keys) ride on a great wheel whose centre sits below the screen. Wheel, drag, tap and arrow keys: the wheel chases your hand, passes the card by one pixel and settles; with the speed the cards lean and leave a smear. The title above has no motion of its own: its lines slide in their masks exactly as far as the wheel has turned. The moment comes from the library of the Creative Reference Library site; brand, words and code are ours.
Rebuilt from scratch studying crl-2026.webflow.io by Josh Bendall, S•BJ: 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>
<!--
"Polaroid wheel" 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>Commonplace, a reference library</title>
<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 reference library of a made-up studio, Commonplace: polaroids of the things that inspire it, laid on a great
wheel whose centre sits below the screen. Scroll, drag, tap a card or use the arrow keys: the wheel follows with
a soft lag and snaps on a card, the cards lean and smear with the speed, and the words above have no motion of
their own, they slide in their masks exactly as far as the wheel has turned -->
<svg class="defs" width="0" height="0" aria-hidden="true" focusable="false">
<filter id="mosso" x="-20%" y="-5%" width="140%" height="110%" color-interpolation-filters="sRGB">
<feGaussianBlur data-blur stdDeviation="0 0"/>
</filter>
</svg>
<main class="stage" data-stage aria-roledescription="carousel" aria-label="Commonplace reference library">
<div class="glow" aria-hidden="true"></div>
<div class="dial" data-dial aria-hidden="true"></div>
<div class="cards" data-cards></div>
<header class="top">
<p class="brand"><span class="brand__name">Commonplace</span><span class="brand__line">Reference library</span></p>
<p class="count"><span class="count__on">Wheel</span><span class="count__n">10 references</span></p>
</header>
<section class="words" aria-hidden="true">
<div class="block block--now" data-block="0">
<span class="line line--format"><span data-f="format"></span><span data-f="format"></span></span>
<span class="line line--author"><span data-f="author"></span><span data-f="author"></span></span>
<span class="line line--title"><span data-f="title"></span><span data-f="title"></span></span>
<span class="line line--year"><span data-f="year"></span><span data-f="year"></span></span>
</div>
<div class="block block--next" data-block="1">
<span class="line line--format"><span data-f="format"></span><span data-f="format"></span></span>
<span class="line line--author"><span data-f="author"></span><span data-f="author"></span></span>
<span class="line line--title"><span data-f="title"></span><span data-f="title"></span></span>
<span class="line line--year"><span data-f="year"></span><span data-f="year"></span></span>
</div>
</section>
<footer class="foot">
<p class="hint">Scroll, drag or tap</p>
<div class="arrows">
<button class="arrow" type="button" data-prev aria-label="Previous reference">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M12.5 8h-9M7.2 4.2L3.4 8l3.8 3.8"/></svg>
</button>
<button class="arrow" type="button" data-next aria-label="Next reference">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h9M8.8 4.2L12.6 8l-3.8 3.8"/></svg>
</button>
</div>
</footer>
<span class="measure" data-measure aria-hidden="true"></span>
<p class="sr" aria-live="polite" data-live></p>
<div class="grain" aria-hidden="true"></div>
</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 “Polaroid wheel” from Animorio and fit it into my siteThe state is a number, the position of the wheel in cards. Every frame the position chases the target with a lerp of 0.08 (corrected for the screen's frame rate with GSAP's deltaRatio), and the cards, the ticked circle and the words all come from that number. Wheel, drag, tap, buttons and keys only change the target.
The card in place i has the angle (i minus the position) times 2π/20, brought back between minus and plus half a turn. It sits at x = half the width + R sin(angle) and y = centre - R cos(angle), with the centre of the wheel below the screen, turns 1.2 times the angle and has z-index 100 cos(angle). R is 1.8 times the height, but no more than 1.6 times the width: on a phone the edges of the neighbours still show.
When the hand stops (the wheel after 0.16 seconds, the drag on release with its push) the target goes to the nearest card plus one pixel of arc in the direction of travel; as soon as the wheel reaches it, the target goes back to the card. Once there, the card drops one pixel and comes back.
The speed is the frame's movement times 12.5 (what would be left to the target), capped at 1.2 and damped as on the site (pull += 0.15 (v - pull)). From it come the cards' skewX, the shadow that drags behind and widens, the copy of the photo shifted in screen mode and a sideways-only feGaussianBlur («5 0»), on only when needed.
Each line has two spans in a mask: with k the whole part of the position and s the fraction, the first shows reference k moved by -110% times s, the second k+1 moved by 110% times (1 - s). The grey block does the same one further on. The text only changes when k changes, and mix-blend-mode difference turns it black over the paper.
| Name | File | Default | What it changes |
|---|---|---|---|
RADIUS | script.js | 1.8 | The radius of the wheel, in screen heights (the site uses 1.8). |
TILT | script.js | 1.2 | How much each card turns for its angle on the wheel. |
LERP | script.js | 0.08 | How quickly the wheel catches up with your hand: lower is softer. |
SPIN_TIME | script.js | 3 | Seconds of the whole turn on opening. |
AUTO_EVERY | script.js | 2.2 | Seconds between two cards when the wheel moves on its own. |
BEND | script.js | 7 | Degrees the cards lean at full speed. |
STREAK | script.js | 5 | Pixels of the sideways smear at full speed. |
SHADOW | script.js | 0.55 | How dark the shadow under each card is. |
GRAIN | script.js | 0.07 | How much grain on the page. |
For a collection to browse one thing at a time: the reading and records of a personal blog, the references of a studio, a photographer's archive, the projects of a portfolio. The photos turn like real objects and the title always stays readable, because it only moves as far as the wheel.
The same, with a finger: drag the wheel and tap a card to bring it to the top. The cards are sized on the smaller of 35% of the height and the width, the radius never passes 1.6 times the width so the neighbours stay at the edges, and below 640 px the format and the year go small on the line above the author. Words that are too long shrink by themselves; everything is measured again on resize.
No turn on opening and no spinning wheel: the cards appear already in place with a fade, and at every change the wheel and the words fade out and come back on the new card.
GSAP 3.15.0, Inter Tight (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 10 KB; the libraries: GSAP 28 KB.
Tested on 16 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.