
Falling tools
Physics, Hover
The pantry of Zagara Orchard, a made-up Sicilian citrus grove, as an endless row of jars tilted by ten degrees. Each jar grows from 0.55 at the edges to 1.35 in the middle, brightens and comes into focus as it reaches the centre, sways on a wave three jars long and sits on a spring of its own: it leans against the speed and lifts towards the pointer. The row moves with the wheel and with a drag that carries on with its momentum; behind it a soft shape and a ring of text turn with it. Over a jar a «Discover product» pill appears and the label goes once around the glass. Inspired by the Agrumea Farm site.
Rebuilt from scratch studying agrumeafarm.it by Studio K95: 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>
<!--
"Tilted jar carousel" 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 pantry · Zagara Orchard</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/full.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/full-italic.css">
<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 pantry of a made-up Sicilian citrus grove as an endless row of jars tilted by ten degrees. Each jar grows from
0.55 at the edges to 1.35 in the middle, brightens and sharpens as it reaches the centre, sways on a three-jar wave
and sits on its own spring: it leans against the speed and towards the pointer. The row moves with the wheel and
with a drag that keeps its momentum; behind it a soft shape and a ring of text turn with the row. Over a jar a
pill says «Discover product» and the label goes once around the glass. -->
<main class="palco" data-palco>
<header class="testa">
<p class="marchio">Zagara Orchard</p>
<p class="sotto">Preserves from a Sicilian grove</p>
</header>
<div class="fondo" aria-hidden="true">
<div class="forma" data-forma>
<svg viewBox="0 0 1000 760" preserveAspectRatio="xMidYMid meet">
<defs>
<radialGradient id="lucefondo" cx="50%" cy="30%" r="70%">
<stop offset="0" stop-color="#4a2925"/>
<stop offset="1" stop-color="#2f1916"/>
</radialGradient>
</defs>
<path d="M160 360 C 175 250 250 205 360 175 L 640 175 C 750 205 825 250 840 360 L 880 600 C 895 700 850 760 760 760 L 240 760 C 150 760 105 700 120 600 Z" fill="url(#lucefondo)"/>
<path d="M360 176 L 640 176" stroke="#f8f1e7" stroke-opacity=".08" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="sigillo" data-sigillo>
<svg viewBox="0 0 600 600">
<defs><path id="anello" d="M300 300 m -250 0 a 250 250 0 1 1 500 0 a 250 250 0 1 1 -500 0"/></defs>
<text><textPath href="#anello" textLength="1550" lengthAdjust="spacing">Preserves from a Sicilian grove · Preserves from a Sicilian grove · </textPath></text>
</svg>
</div>
</div>
<div class="fila" data-fila role="list" aria-label="Zagara Orchard preserves"></div>
<p class="nome" aria-live="polite"><span class="nome__in" data-nome>Blood orange marmalade</span></p>
<p class="invito"><svg viewBox="0 0 22 10" aria-hidden="true"><path d="M1 5h20M5 1 1 5l4 4M17 1l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/></svg><span>Drag or scroll</span></p>
<div class="pillola" data-pillola aria-hidden="true"><span class="pillola__testo">Discover product</span></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
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 “Tilted jar carousel” from Animorio and fit it into my siteJar i sits at i·G along the row, minus the offset, wrapped in a loop N·G long: x = wrap(i·G − offset + N·G/2, N·G) − N·G/2. The row’s container is rotated by ten degrees, so they all run along the same diagonal.
q goes from 0 at one edge of the screen to 1 at the other; the scale is 0.55 + 0.8·sin(q·π), the brightness 0.7 + 0.4·sin(q·π) and the blur grows with 1 − sin(q·π), up to 4 pixels (2 on a phone), plus a little with the speed.
The wheel adds deltaY·1.15 to the goal, the drag dx·1.5; on release the finger’s speed (at most 3.5 pixels per millisecond) still counts ·1.5·190. The offset chases the goal by 1 − e^(−2.3·dt) each frame, 11 while dragging.
Each jar has two springs, lean and lift, with stiffness 70 give or take 15% (spread by the golden ratio, i·0.618) and damping 9: the goal is to lean against the speed, up to 6 degrees, and towards the pointer under a gaussian bell e^(−d²/(1.6·u)²).
The glass is a cylinder of radius 82 seen from the front. The label, 196 units long around the glass, is drawn flat once and seen through eighteen thin vertical windows: each one shows the piece at its own angle φ = asin((x − 100)/82) and squeezes it by cos φ, so at the sides the label curves away. Turning means shifting it all by a share of the circumference: speed turns it a little, hovering, after 0.26 seconds, turns it once in 2 seconds with power4.inOut, and halfway round you see the back, just the marmalade.
The ring of text rotates by offset·−0.012 degrees, the shape and the ring drift with the pointer by −14 and −10 pixels; the name of the jar in the middle rolls up when it changes.
| Name | File | Default | What it changes |
|---|---|---|---|
TILT | script.js | 10 | The tilt of the row, in degrees. |
SCALE_EDGE | script.js | 0.55 | How big a jar is at the edges of the screen. |
SCALE_MIDDLE | script.js | 1.35 | How big the jar in the middle is. |
GAP | script.js | 1.22 | The distance between two jars, in jar widths. |
BLUR | script.js | 4 | The blur of the jars at the edges, in pixels (half on a phone). |
WAVE | script.js | 18 | How many pixels the jars sway. |
STIFFNESS | script.js | 70 | The stiffness of each jar’s spring. |
DAMPING | script.js | 9 | The damping of the spring: lower wobbles more. |
LEAN | script.js | 6 | How far a jar leans against the speed at most, in degrees. |
EASE | script.js | 2.3 | How quickly the row reaches its goal: k = 1 − e^(−EASE·dt). |
DRIFT | script.js | 26 | The speed of the row when nobody touches it, in pixels per second. |
TURN | script.js | 2 | The seconds of the label’s turn on hover. |
ACCENT | script.js | #e8642c | The colour of the ring of text. |
For the product showcase of a food shop, a winery, a perfumery or a cosmetics brand: a few products shot or drawn the same way, to browse with a finger, with the one in the middle in focus and its name below.
Jars are sized on the smaller of 24vw and 19vh, so the row fits the box even when it is short; the blur at the edges is halved. You drag with a finger and the row carries on with its momentum; there is no pill, since there is no pointer.
No springs, no wave, no momentum and no drifting by itself: the row moves only with the wheel, the finger or the arrow keys, the jars stay upright and the label does not turn. The pill fades in.
GSAP 3.15.0, Fraunces (font variabile) 5.3.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 10 KB; the libraries: GSAP 28 KB.
Tested on 1 December 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.