
Blinds over images
Images, Scroll
Scroll inside the preview
The five elements of Alderstone Minerals, a made-up quarry, on an almost black ground: as you scroll, a dial of 120 thin ticks fills all the way round with an orange needle on its edge, the element’s name lights up among the others at .15, symbol and atomic number roll into place and a carousel of real specimens brings the right one to the middle, upright, while the ones arriving and leaving lean 30 degrees. Minimal style. From the minerals section of the CoMinVi site, Awwwards Site of the Day on 30/9/2026.
Rebuilt from scratch studying cominvi.com.mx by Holographik: 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>
<!--
"Mineral dial" 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>Alderstone Minerals, the dial that fills as you scroll</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/geist-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Alderstone Minerals, a made-up quarry, shows the five elements it brings out of its seam. The stage stays
still while you scroll: a thin dial of ticks fills all the way round, the name of the element being shown
lights up in the list, its symbol and atomic number roll into place, and a carousel of real specimens turns
the next one to the middle, upright, while the ones arriving and leaving lean 30 degrees -->
<section class="apertura">
<p class="marchio">
<svg class="marchio__segno" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 19 10 6l4 7 2.5-3.5L21 19Z" /><path d="M8.6 14.6h5.2" /></svg>
Alderstone Minerals
</p>
<h1 class="apertura__titolo">Five elements,<br>one seam.</h1>
<p class="etichetta etichetta--tenue">
Scroll to survey the seam
<svg class="giu" viewBox="0 0 12 16" aria-hidden="true"><path d="M6 1v13M1.5 9.5 6 14l4.5-4.5" /></svg>
</p>
</section>
<section class="minerali" data-minerali>
<div class="palco">
<header class="testa">
<p class="marchio marchio--piccolo">
<svg class="marchio__segno" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 19 10 6l4 7 2.5-3.5L21 19Z" /><path d="M8.6 14.6h5.2" /></svg>
Alderstone
</p>
<p class="etichetta etichetta--tenue">Minerals we extract</p>
</header>
<ol class="nomi" data-nomi aria-label="Elements">
<li class="nome" data-nome>Gold</li>
<li class="nome" data-nome>Copper</li>
<li class="nome" data-nome>Iron</li>
<li class="nome" data-nome>Bismuth</li>
<li class="nome" data-nome>Silicon</li>
</ol>
<div class="centro">
<div class="quadrante" data-quadrante>
<svg class="tacche tacche--spente" viewBox="0 0 200 200" aria-hidden="true" data-tacche></svg>
<svg class="tacche tacche--piene" viewBox="0 0 200 200" aria-hidden="true" data-tacche data-piene></svg>
<svg class="ago" viewBox="0 0 200 200" aria-hidden="true">
<g data-ago><path d="M100 1.5V12" /></g>
</svg>
</div>
<div class="giostra" data-giostra>
<div class="giostra__binario" data-binario>
<figure class="campione" data-campione>
<div class="campione__foto" data-foto>
<img src="oro.webp" alt="A flat nugget of native gold on black" width="1024" height="747" decoding="async">
<i class="campione__riflesso" data-riflesso aria-hidden="true"></i>
</div>
</figure>
<figure class="campione" data-campione>
<div class="campione__foto campione__foto--vicino" data-foto>
<img src="rame.webp" alt="A rough piece of blue-green copper ore" width="1024" height="683" decoding="async">
<i class="campione__riflesso" data-riflesso aria-hidden="true"></i>
</div>
</figure>
<figure class="campione" data-campione>
<div class="campione__foto" data-foto>
<img src="pirite.webp" alt="A cluster of brassy pyrite crystals, iron ore" width="1024" height="666" decoding="async">
<i class="campione__riflesso" data-riflesso aria-hidden="true"></i>
</div>
</figure>
<figure class="campione" data-campione>
<div class="campione__foto" data-foto>
<img src="bismuto.webp" alt="A stepped bismuth crystal with a rainbow oxide skin" width="1024" height="678" decoding="async">
<i class="campione__riflesso" data-riflesso aria-hidden="true"></i>
</div>
</figure>
<figure class="campione" data-campione>
<div class="campione__foto" data-foto>
<img src="quarzo.webp" alt="A cluster of clear quartz points" width="1024" height="768" decoding="async">
<i class="campione__riflesso" data-riflesso aria-hidden="true"></i>
</div>
</figure>
</div>
</div>
</div>
<aside class="dati" aria-live="polite">
<div class="dato">
<span class="etichetta etichetta--tenue">Symbol</span>
<span class="rullo"><span class="rullo__colonna rullo__colonna--simbolo" data-colonna>
<span>Au</span><span>Cu</span><span>Fe</span><span>Bi</span><span>Si</span>
</span></span>
</div>
<div class="dato">
<span class="etichetta etichetta--tenue">Atomic no.</span>
<span class="rullo"><span class="rullo__colonna" data-colonna>
<span>79</span><span>29</span><span>26</span><span>83</span><span>14</span>
</span></span>
</div>
</aside>
<footer class="piede">
<p class="didascalia">
<span class="rullo rullo--riga"><span class="rullo__colonna" data-colonna>
<span>Native gold, Hollin seam, drift 2</span>
<span>Copper ore, Hollin seam, drift 3</span>
<span>Pyrite, Hollin seam, drift 3</span>
<span>Bismuth, smelter crystal, bay 1</span>
<span>Quartz, Hollin seam, drift 5</span>
</span></span>
</p>
<p class="lettura" aria-hidden="true"><span class="lettura__n"><b data-gradi>0</b>°</span><i class="lettura__riga"></i><span class="lettura__n"><b data-cento>0</b>%</span></p>
</footer>
</div>
</section>
<section class="coda">
<p class="etichetta etichetta--tenue">Alderstone Minerals, surveyed since 1961</p>
</section>
<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/gsap@3.15.0/dist/CustomEase.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.
49 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Mineral dial” from Animorio and fit it into my siteTwo identical rings of ticks, drawn by the script in a 200 by 200 svg: below the dim one, above the bright one with mask-image: conic-gradient(from 0deg, #fff 0deg, #fff var(--angle), transparent var(--angle)), like the site’s circle. On every update --angle = progress * 360deg; the needle is a stroke inside the svg rotating with svgOrigin at the true centre, 100 100.
The section is 420vh tall and the stage is sticky and 100lvh tall. The site uses ScrollTrigger.create with scrub 1, but onUpdate gets the raw progress; here a tween of an object from 0 to 1 with scrub 1 gives a progress that arrives softly, and the ring, the needle, the degrees and the percentage come from it.
The active entry is floor(progress * 5), with the progress held just under 1 so the last stays the fifth. Tweens start only when it changes: the names to 1 or .15 in .25 s, the drum columns to yPercent -100 / entries * index in .25 s (in percent, so nothing needs measuring), the carousel in 1.2 s.
The track is five places wide, each 20%: moving it by -20 * index in xPercent brings the right specimen to the middle. On the way each specimen rotates by 30 * sign * min(1, |distance|), as on the site, and also scales down to .86 and dims, so the middle reads at once.
The curve is the site’s CustomEase, M0,0 C0.6,0 0,1 1,1: it starts slow, is steep in the middle and lands softly. When the carousel arrives, a band of light in mix-blend-mode screen crosses the specimen in 1.1 s and the specimen settles from 1.018 to 1 with a back.out.
| Name | File | Default | What it changes |
|---|---|---|---|
SCRUB | script.js | 1 | Seconds the dial takes to catch up with the scroll (the site uses 1). |
DIM | script.js | 0.15 | How visible the names not shown are (the site uses .15). |
NAME_TIME | script.js | 0.25 | Seconds a name takes to light up or dim (the site uses .25). |
ROLL_TIME | script.js | 0.25 | Seconds the symbol and the number take to roll (the site uses .25). |
SLIDE_TIME | script.js | 1.2 | Seconds the carousel takes to move one specimen (the site uses 1.2). |
TILT | script.js | 30 | Degrees the specimens arriving and leaving lean (the site uses 30). |
SIDE_SCALE | script.js | 0.86 | How small the specimens at the sides get. |
WIDEN | script.js | 104 | Width (wdth axis) of the name shown; the others stay at 92. |
TICKS | script.js | 120 | How many ticks round the dial. |
SHEEN | script.js | 1.1 | Seconds the band of light takes to cross the specimen in the middle. |
For the products, materials or services page of a company, a quarry, a lab, a collection or a stone shop: a few items to present one at a time, with a fixed fact for each, while the visitor scrolls.
Same dial, same leaning carousel and same drums. The dial is sized on width and height (min(60vw, 46vh)), symbol and number move up beside the brand and the names become a row that slides to centre the element shown, in .3 s as on the site.
The dial still fills (it is a fill, not a move), but nothing rolls or slides: symbol, number and caption change in place, the carousel changes specimen with a fade and no lean, the name does not widen and the sheen does not pass.
GSAP 3.15.0, ScrollTrigger 3.15.0, CustomEase 3.15.0, Mona Sans (font variabile) 5.3.0, Geist Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.9 KB; the libraries: GSAP + ScrollTrigger + CustomEase 49 KB.
Tested on 21 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.
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.