Skip to content
animorio
IT
Back to the library

Gold medallion quote

Scroll, TextGSAP, Canvas, CSS onlyMediumCompressed weight: Demo 8.0 KBGSAP + ScrollTrigger 45 KBFreeDownload the zip

Scroll inside the preview

A bride’s review for a made-up atelier, Atelier Sorrel, which turns a wedding dress into a medallion to keep: six large lines in a display serif on ivory paper. Scrolling, a brushed gold medallion with a milled edge and an engraved S comes down the middle turning three half turns around its upright axis, and every line parts in two like a curtain to let it through, the more the closer it is (a bell with a power of 2.5), then closes on a short spring with a one pixel settle. The signature comes in at the end.

Rebuilt from scratch studying verostudio.com by Rodéo studio, plutot.cool: the idea is theirs; code, copy and images are ours. Read how it’s made

The code

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>
<!--
  "Gold medallion quote" 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>Atelier Sorrel, a word from a bride</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/instrument-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- a made-up atelier, Atelier Sorrel, that turns a wedding dress into a small cast medallion. A bride's words fill
       the screen; scrolling, the brushed gold medallion comes down the middle turning three half turns, and every line
       parts in two to let it through, closing behind it with a one pixel settle. Her signature comes in at the end -->
  <section class="corsa" data-corsa>
    <div class="palco" data-palco>
      <div class="carta" aria-hidden="true"></div>
      <p class="marchio">Atelier Sorrel</p>
      <blockquote class="citazione" data-citazione>
        <p class="sr">They took the dress I wore for one day and gave it back as something I can hold every day of my life.</p>
        <div class="righe" data-righe aria-hidden="true">
          <span class="riga">They took the dress</span>
          <span class="riga">I wore for one day</span>
          <span class="riga">and gave it back</span>
          <span class="riga">as something I can</span>
          <span class="riga">hold every day</span>
          <span class="riga">of my life.</span>
          <span class="riga riga--firma" data-firma data-parti="Clara Ivers|Bride, June 2025">Clara Ivers, bride, June 2025</span>
        </div>
      </blockquote>
      <canvas class="medaglione" data-medaglione aria-hidden="true"></canvas>
    </div>
  </section>
  <footer class="fine">
    <p>Worn once, kept for good.</p>
  </footer>
  <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="script.js"></script>
</body>
</html>

Playground

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.

25 values to change

Or ask your AI assistant for it

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 “Gold medallion quote” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On ivory paper with a light grain and a soft light from the top, the atelier’s name in small capitals at the top and in the middle a bride’s words, six lines in Fraunces, upright and italic in turn: «They took the dress I wore for one day and gave it back as something I can hold every day of my life.». Over it sits a gold medallion drawn on canvas: cast gold with a brushing of fine lines, the raised rim with the ticks of the milling, an engraved ring and an engraved italic S with ATELIER SORREL under it; on the back the words WORN ONCE and KEPT FOR GOOD all around and the month in the middle. Scrolling, the medallion comes down the middle and turns three half turns: in profile you see its edge with the knurling, the face darkens as it turns away and a light runs over the gold, and its soft shadow follows it on the paper, narrower when it is edge on. Every line is cut in half at the middle of the screen: the left half moves left and the right half right as far as it takes to let it through, the nearest line the most and the others less and less, and behind it they close on a short spring that overshoots by a pixel and comes back. The atelier’s name steps aside when the medallion passes over it, and towards the end the bride’s signature comes in from a blur, parting too around the medallion that has reached the bottom. Under the mouse the medallion lifts a little and its shadow moves away; pressed, it spins a full turn and squashes on a spring.

How it works

A still stage and a single number

The section is three screens tall and the stage inside is sticky, 100lvh tall. One ScrollTrigger with a 0.6 scrub takes a number from 0 to 1 between the start and the end of the section: the medallion’s descent, from just under the atelier’s name to the bottom less a radius, and its rotation, p × 3π, both come from it.

One line, two halves

Every line becomes two copies of the same text on top of each other, with clip-path: the first keeps only the left half of the screen, the second the right. Moving them with translateX in opposite directions opens the line exactly in the middle, where the medallion passes, without splitting the words.

The bell

With e = 1.2 radii, each half moves 1.175 e × (1 − min(1, d² / (2e)²))^2.5, where d is the vertical distance between the line and the medallion’s centre: at most a little more than the medallion, zero two widths away, and the power makes the opening fall away quickly so distant lines stay shut.

Springs that close

The computed shift is only a target: every line follows it on a spring (stiffness 190, damping 0.74 of critical) integrated at 120 steps a second. So the lines open with a short inertia and, closing behind the medallion, pass zero by about a pixel and come back.

The medallion on canvas

The two faces are drawn once per size on two hidden canvases: a radial gradient, the brushing lines, the raised rim, the ticks, a ring and letters engraved with a light shadow one pixel off. Every frame the right face (from the sign of the cosine) is laid with scaleX = |cos θ|, under it the band of the edge is filled with the knurling lines, over it a soft-light gradient runs with sin θ, and first of all comes the shadow on the paper.

Values to change

NameFileDefaultWhat it changes
COIN_SIZEscript.js8Radius of the medallion in hundredths of the width, between 44 and 140 px (the site uses 8).
HALF_TURNSscript.js3Half turns around the upright axis along the whole scroll (the site uses 3).
BELL_POWERscript.js2.5How sharply the opening falls away from the medallion (the site uses 2.5).
OPEN_WIDTHscript.js1.175How far each half moves, in widths of 1.2 radii (the site uses 1.175).
REACHscript.js2How far up and down the lines feel the medallion, in the same widths (the site uses 2).
SCRUBscript.js0.6Seconds the medallion takes to catch up with the scroll.
SPRINGscript.js190Stiffness of the halves as they open and close.
SETTLEscript.js0.74Damping of the halves: lower gives a bigger overshoot as they close.
SHINEscript.js0.55Strength of the light that runs over the gold as it turns.
IDLEscript.jstrueAt rest the medallion breathes with a tiny sway.

Try them in the Playground

When to use it

For the review or testimonial that has to carry weight on a landing page, for the page of an atelier, a jeweller, a wedding photographer or anyone who makes things to keep: when one client sentence is worth a whole section and the scroll should make it read line by line.

On phones

The same animation with adapted sizes: the medallion never goes under a 44 px radius, the lines are measured on the height too (min(8.4vw, 7.6vh)) and the halves that open are cut off by the stage edges, never sticking out. No lift under the finger.

With reduced motion

No movement: the page fades in already at the end, with the medallion still at the bottom face on, the lines shut and the signature in place; scrolling moves nothing.

Pitfalls

  • Splitting the words into two halves between letters opens every line at a different point: with two copies and a clip-path at mid screen the cut is always exactly where the medallion passes.
  • Writing the computed shift straight in makes the lines snap with every scroll frame: a spring has to chase the target, integrated in fixed steps, or a slow frame blows it up.
  • With scaleX = cos θ alone, halfway through the turn the face disappears and the medallion becomes a line: the band of the edge between the two faces is needed, sin θ times the thickness wide.
  • The letters on the canvas must be drawn after the font has loaded (document.fonts.load), or the monogram comes out in the system serif and stays that way.

Libraries

GSAP 3.15.0, ScrollTrigger 3.15.0, Fraunces (font variabile) 5.3.0, Instrument Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 8.0 KB; the libraries: GSAP + ScrollTrigger 45 KB.

Testing

Tested on 10 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

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.

All animations