
Projects with a ring
Scroll, Images, Text
Scroll inside the preview
Sorrel, a made-up clinic of medical skin care, on warm paper and night blue. Scrolling down, each tall photo opens from one side like a door: the frame goes from 80% to 100% of its width while the photo inside does the opposite, from 120% to 100%, and barely stretches; then it drifts slowly down inside the frame. Beside it a small photo with its caption holds still, and the titles come in word by word. Minimal style. From the opening photos of the Odyssée site, Awwwards Site of the Day on 8/10/2026.
Rebuilt from scratch studying odysseeclinic.com.au by Nightjar: 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>
<!--
"Counter-scale frame" 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>Sorrel, medical skin care</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/opsz.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>
<!-- Sorrel, a made-up clinic of medical skin care, on warm paper and night blue. Scrolling down, each tall photo opens
from one side like a door (its frame goes from 80% to 100% of its width) while the photo inside goes the other
way, from 120% to 100%, so it barely stretches; then it drifts down slowly inside its frame. Beside it a small
photo with its caption holds still for a while, and each title comes in word by word. -->
<header class="bar">
<p class="brand" data-in>Sorrel</p>
<p class="bar__mid" data-in>Medical skin care</p>
<a class="book" href="#book" data-in><span class="book__dot" aria-hidden="true"></span><span>Book a visit</span></a>
</header>
<main>
<section class="hero">
<p class="kicker" data-in>Skin, at its own pace</p>
<h1 class="title" data-words><span class="indent" aria-hidden="true"></span>Quiet care for skin that keeps its own time.</h1>
<p class="lede" data-in>Evidence-led treatments, a first conversation that is never rushed, and results that look like you on a good day.</p>
<div class="hint" aria-hidden="true"><span class="hint__line"><span class="hint__run"></span></span><span class="hint__txt">Scroll</span></div>
</section>
<section class="feature" data-side="right">
<div class="side">
<h2 class="head" data-words><span class="indent" aria-hidden="true"></span>Slow hands, clear plans.</h2>
<figure class="small">
<div class="small__img"><img src="asciugamani.webp" width="727" height="1024" alt="Folded white towels with a sprig of rosemary"></div>
<figcaption>
<span class="label" data-chars>The welcome</span>
<span class="rule" aria-hidden="true"></span>
<span class="cap">Warm linen and rosemary. The first ten minutes are only for listening.</span>
</figcaption>
</figure>
</div>
<div class="big">
<div class="frame" data-frame>
<div class="frame__in" data-inner><img src="siero.webp" width="960" height="1440" alt="A woman with calm, clear skin and a drop of serum on her forehead"></div>
<span class="shine" aria-hidden="true"></span>
<span class="chip" data-chip>Serum, two drops</span>
</div>
</div>
</section>
<section class="feature" data-side="left">
<div class="big">
<div class="frame" data-frame>
<div class="frame__in" data-inner><img src="orchidea.webp" width="960" height="1438" alt="A white orchid, smooth dark stones and sea salt on a grey table"></div>
<span class="shine" aria-hidden="true"></span>
<span class="chip" data-chip>Stone, salt, orchid</span>
</div>
</div>
<div class="side">
<h2 class="head" data-words><span class="indent" aria-hidden="true"></span>Every visit starts with a talk.</h2>
<figure class="small small--wide">
<div class="small__img"><img src="sala.webp" width="1024" height="683" alt="A bright treatment room with a padded bed and a small trolley"></div>
<figcaption>
<span class="label" data-chars>The room</span>
<span class="rule" aria-hidden="true"></span>
<span class="cap">North light from the garden, no music, one chair for whoever came with you.</span>
</figcaption>
</figure>
</div>
</section>
<section class="end" id="book">
<h2 class="end__title" data-words>Begin with a first consultation.</h2>
<a class="pill" href="#book"><span class="pill__bg" aria-hidden="true"></span><span class="pill__txt">Book a visit</span></a>
<p class="hours" data-in>Monday to Saturday, nine to six</p>
</section>
</main>
<div class="grain" aria-hidden="true"></div>
<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/lenis@1.3.26/dist/lenis.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.
31 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 “Counter-scale frame” from Animorio and fit it into my siteThe frame (overflow hidden, aspect-ratio 701 / 1235) and its content are two different elements for GSAP. The frame starts at scaleX .8, the content at scaleX 1.2, with the same transform-origin: 0% when the frame sits on the right, 100% when it sits on the left. The product is .96 at the start and 1 at the end: the frame opens, the photo barely changes.
Both tweens go to 1 with ease none and the same ScrollTrigger: the frame as trigger, start «top bottom», end «top center», scrub true. The door is open when the frame reaches the middle of the window.
The content is 125% tall and starts at top -25%: a second tween takes it to yPercent 20 from «top top» to «bottom top», so it moves down by 25% of the frame while the frame leaves at the top. No empty edge ever shows.
Titles are split into words (the indent span stays as it is) and rise 10 px with autoAlpha in 1 s expo.out, .04 s apart, when the title reaches 85% of the window. Labels are split into letters that only fade, .6 s and .04 s apart; then the clay rule draws with scaleX.
Lenis with a duration of .6, the same as the site: lenis.raf is called by the GSAP ticker and each scroll updates ScrollTrigger, so the scrub and the smooth scroll stay in step.
| Name | File | Default | What it changes |
|---|---|---|---|
OPEN_FROM | script.js | 0.8 | How wide the frame starts, from 0 to 1 (the site uses .8). |
COUNTER | script.js | 1.2 | How wide the photo inside starts, to undo the frame (the site uses 1.2). |
DRIFT | script.js | 20 | How far the photo drifts down inside its frame, in % (the site uses 20). |
WORD_RISE | script.js | 10 | How many px each word of a title rises (the site uses 10). |
WORD_TIME | script.js | 1 | Seconds each word takes to settle (the site uses 1). |
WORD_GAP | script.js | 0.04 | Seconds between one word and the next (the site uses .04). |
SMOOTH | script.js | 0.6 | Seconds of Lenis smooth scrolling (the site uses .6). |
For the site of a clinic, a spa, a cosmetics brand, a hotel or a studio: sections with a tall photo and a title, where the photo opens calmly instead of just appearing, and stays crisp because it never stretches.
The same animation with adapted sizes: the two columns stay side by side, the frame and the small photo are measured on width and height together, the long captions hide and the labels with their rule stay. Each section is at most one screen tall.
No motion and no smooth scroll: the frames are already open and still, the photos do not drift, words, letters and labels fade in.
GSAP 3.15.0, ScrollTrigger 3.15.0, Lenis 1.3.26, Newsreader (font variabile) 5.3.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 7.0 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 KB.
Tested on 24 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.