
Stacking certificates
Hover, Images
The albums section of an electronic musician’s site, on grey: the record of the chosen album turns slowly inside its square sleeve, and you can grab it with a finger or the mouse, turn it and throw it: it runs, slows down with friction and goes back to its slow turn. The years at the top change the album: the lines of text leave upwards one after the other, the new record settles and the new lines rise from their masks.
Rebuilt from scratch studying paulkalkbrenner.net by Holographik, Ilja van Eck: 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.
<!doctype html>
<!--
"Spinnable album record" 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 album record you spin with your finger</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 recordings section of a musician's site: the record of the chosen album spins slowly,
grab it and throw it, pick a year and the album changes -->
<main class="stage" data-stage>
<header class="top">
<h2 class="label">Recordings</h2>
<p class="intro">Explore the latest releases.</p>
</header>
<section class="albums" data-albums>
<div class="visual" data-visual>
<div class="visual__item" data-visual-item="low-season" data-active>
<div class="sleeve" data-sleeve></div>
<div class="record" data-record>
<div class="record__spin" data-spin>
<div class="record__art" data-art></div>
<div class="record__grooves"></div>
<div class="record__label"><span>Kasimir Tessmar</span><span>Low Season</span></div>
</div>
<div class="record__shine"></div>
<div class="record__hole"></div>
</div>
</div>
<div class="visual__item" data-visual-item="static-bloom">
<div class="sleeve" data-sleeve></div>
<div class="record" data-record>
<div class="record__spin" data-spin>
<div class="record__art" data-art></div>
<div class="record__grooves"></div>
<div class="record__label"><span>Kasimir Tessmar</span><span>Static Bloom</span></div>
</div>
<div class="record__shine"></div>
<div class="record__hole"></div>
</div>
</div>
<div class="visual__item" data-visual-item="night-freight">
<div class="sleeve" data-sleeve></div>
<div class="record" data-record>
<div class="record__spin" data-spin>
<div class="record__art" data-art></div>
<div class="record__grooves"></div>
<div class="record__label"><span>Kasimir Tessmar</span><span>Night Freight</span></div>
</div>
<div class="record__shine"></div>
<div class="record__hole"></div>
</div>
</div>
</div>
<div class="info">
<nav class="years" aria-label="Albums by year">
<div class="years__list">
<button class="year" data-trigger="low-season" data-active><span class="roll">2025</span></button>
<button class="year" data-trigger="static-bloom"><span class="roll">2019</span></button>
<button class="year" data-trigger="night-freight"><span class="roll">2016</span></button>
</div>
<a class="all" href="#" onclick="return false"><span class="roll">View all albums</span>
<svg viewBox="0 0 20 20" aria-hidden="true"><path d="M3 10h13M11 5l5 5-5 5"/></svg></a>
</nav>
<div class="texts">
<article class="text" data-info-item="low-season" data-active>
<h3 class="title" data-text>Low Season</h3>
<div class="mid">
<p class="avail" data-text>Available as:<br>CD & 12” vinyl and digital</p>
<p class="body" data-text>Eleven tracks made in a shuttered seaside hotel over two winters, with the windows open. Slow kicks, long pads and the hum of an empty ballroom.</p>
</div>
<div class="buttons"><a class="btn" href="#" onclick="return false"><span class="roll">Listen</span></a><a class="btn" href="#" onclick="return false"><span class="roll">Buy vinyl</span></a></div>
</article>
<article class="text" data-info-item="static-bloom">
<h3 class="title" data-text>Static Bloom</h3>
<div class="mid">
<p class="avail" data-text>Available as:<br>Double 12” vinyl and digital</p>
<p class="body" data-text>Recorded live to tape in one take per track, with a broken spring reverb that gave the record its name. The loudest album he has made.</p>
</div>
<div class="buttons"><a class="btn" href="#" onclick="return false"><span class="roll">Listen</span></a><a class="btn" href="#" onclick="return false"><span class="roll">Buy vinyl</span></a></div>
</article>
<article class="text" data-info-item="night-freight">
<h3 class="title" data-text>Night Freight</h3>
<div class="mid">
<p class="avail" data-text>Available as:<br>12” vinyl and digital</p>
<p class="body" data-text>The first album, written on night trains between Berlin and the coast. Drum machines, a borrowed synth and the rhythm of the rails.</p>
</div>
<div class="buttons"><a class="btn" href="#" onclick="return false"><span class="roll">Listen</span></a><a class="btn" href="#" onclick="return false"><span class="roll">Buy vinyl</span></a></div>
</article>
</div>
</div>
</section>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></path></svg>
</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/SplitText.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.
46 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 “Spinnable album record” from Animorio and fit it into my siteThe sleeve is a square with the picture; the record is a circle at 90% with hidden overflow, holding the same picture at 111.5%, centred: as it turns, the record’s picture slides over the still one of the sleeve and you can see it spin. The pictures are three canvas drawings, made once with their grain.
Each record has an angle and a speed, updated in GSAP’s ticker. At rest the speed eases towards 360/15 degrees a second; after a throw it drops by 400 degrees a second every second, and below 36 it goes back to the slow turn.
With pointer events and setPointerCapture the angle between the pointer and the centre comes from atan2; on every move the record turns by the difference, corrected when it wraps past 180 degrees. On release the speed is measured over the last 100 ms and clamped to ±720.
The text is split into lines with SplitText, each in its own mask. The old lines go to yPercent -110 with a 0.04 stagger in half a second, the old record fades, the new one fades in at 0.15 s coming down from a scale of 1.035, then the new lines rise from 110. All power3.inOut.
| Name | File | Default | What it changes |
|---|---|---|---|
SPIN_SECONDS | script.js | 15 | How many seconds the record takes for a full turn when nobody touches it. |
MAX_SPEED | script.js | 720 | The highest speed of a throw, in degrees per second. |
RESISTANCE | script.js | 400 | The friction: by how many degrees per second it slows down every second after a throw. |
RESUME_BELOW | script.js | 36 | Below this speed the record goes back to its slow turn. |
LINE_STAGGER | script.js | 0.04 | The delay between one line of text and the next when the album changes. |
SWITCH_TIME | script.js | 0.6 | How many seconds the new album’s lines take to come in. |
SETTLE | script.js | 0.035 | How much bigger the new record is before it settles. |
GROOVES | script.js | 0.5 | How visible the grooves on the record are. |
For the discography of a musician, a label or a dj, or any round product to show among a few: something you can touch and throw invites you to stay, and the years as tabs keep the choice short.
The record sits on top and the text below; you spin it with a finger (the page does not scroll while you hold it), the text stops at three lines and “View all albums” is just its arrow.
The record does not turn by itself and has no inertia: you can still turn it with a finger and it stops where you leave it. Changing album is a fade, and without the fake pointer the albums change by themselves every four seconds.
GSAP 3.15.0, SplitText (GSAP) 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 8.8 KB; the libraries: GSAP + SplitText 31 KB.
Tested on 26 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.