Skip to content
animorio
IT
Back to the library

Tape curtain showcase

Transitions, TextGSAP, CSS onlyMediumCompressed weight: Demo 12 KBGSAP 28 KBFreeDownload the zip

The tape carousel «Meet the one who sticks» from Sweet Tape, rebuilt in 2D with a made-up brand, Gripwell, and six tapes: changing tape, the new colour comes down from the top with a curved belly edge, the colours of the words change as the edge passes over them, the line under the roll stays still while the curtain uncovers it and every letter of the big word dives under its line and comes back up in the new colour. The flat SVG roll rolls away and the new one rolls in, while width and length turn like a counter.

Rebuilt from scratch studying sweet-tape.com by bikebear: 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>
<!--
  "Tape curtain showcase" 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>Gripwell, meet the one that holds</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 tape range of Gripwell, a made-up tape maker. Six tapes, one at a time: changing tape, the new colour comes
       down from the top with a curved belly edge, the letters of the big word dive under their line and come back up in
       the new colour, the old roll rolls away and the new one rolls in, and the numbers of the width and the length
       roll like a counter. The line under the roll stays still while the curtain uncovers it. -->
  <main class="palco" data-palco aria-roledescription="carousel" aria-label="Gripwell tapes">
    <div class="tenda" data-tenda aria-hidden="true"></div>

    <header class="testa" data-ink>
      <a class="marchio" href="#" aria-label="Gripwell, home">
        <svg class="marchio__segno" viewBox="0 0 28 28" aria-hidden="true">
          <circle cx="14" cy="14" r="11.5" fill="none" stroke="currentColor" stroke-width="5"/>
          <path d="M14 25.5h12.5v-4.2" fill="none" stroke="currentColor" stroke-width="5" stroke-linejoin="round"/>
        </svg>
        <span class="marchio__nome">Gripwell</span>
      </a>
      <p class="testa__frase">Six tapes, one grip</p>
    </header>

    <div class="titolo" data-ink>
      <p class="titolo__sopra">Meet the one that</p>
      <h1 class="titolo__riga" data-riga aria-live="polite"></h1>
    </div>

    <div class="scena" data-scena aria-hidden="true"></div>

    <footer class="piede">
      <div class="sotto" data-sotto>
        <div class="sotto__testo" data-sotto-base></div>
        <div class="sotto__tenda" data-sotto-tenda><div class="sotto__testo sotto__testo--copia" data-sotto-copia></div></div>
      </div>

      <dl class="dati" data-ink>
        <div class="dato">
          <dt>Width</dt>
          <dd><span class="cifre" data-cifre="largo"></span><span class="unita">mm</span></dd>
        </div>
        <div class="dato">
          <dt>Length</dt>
          <dd><span class="cifre" data-cifre="lungo"></span><span class="unita">m</span></dd>
        </div>
      </dl>

      <div class="comandi" data-nav>
        <button class="tondo" type="button" data-prima aria-label="Previous tape">
          <span class="tondo__faccia"><svg viewBox="0 0 20 20" aria-hidden="true"><path d="M16 10H4.5M9.5 4.5 4 10l5.5 5.5"/></svg></span>
        </button>
        <button class="tondo" type="button" data-dopo aria-label="Next tape">
          <span class="tondo__faccia"><svg viewBox="0 0 20 20" aria-hidden="true"><path d="M4 10h11.5M10.5 4.5 16 10l-5.5 5.5"/></svg></span>
        </button>
        <a class="esplora" href="#" data-esplora>
          <span class="esplora__faccia"><span class="esplora__scritta">Explore</span>
            <svg viewBox="0 0 20 20" aria-hidden="true"><path d="M5.5 14.5 14.5 5.5M7.5 5.5h7v7"/></svg></span>
        </a>
      </div>
    </footer>

    <div class="grana" aria-hidden="true"></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>

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.

62 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 “Tape curtain showcase” 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

A stage as large as the window, in the colour of the tape: at the top the Gripwell mark and «Six tapes, one grip», in the middle «Meet the one that» and a huge word (RUGGED, TIDY, CLEAR, TWOFOLD, PLAYFUL, HUSHED), under it a tape roll drawn flat in SVG, with the wound layers, the texture of the tape (the cloth, the crepe paper, the washi stripes), the cardboard core with the lettering running round it, the Gripwell label, the sheen, the shadow and the hanging end with its zig-zag cut. At the bottom the name and a line, the width in millimetres and the length in metres, the round arrows and Explore. Every 2.4 seconds (or with the arrows, the ← → keys or a drag) the tape changes: the new colour comes down from the top with a belly edge and the colours of the words and buttons change at the exact moment the edge passes over them; the line with the name stays still and the curtain uncovers it already written for the new tape. The letters of the word dive one after the other under their line and, once all are under and the edge has passed, the new word comes up in its colour, letter by letter. The old roll rolls away speeding up, the new one rolls in, goes a pixel too far and rolls back, its hanging end swinging; the digits of width and length turn like a counter and settle by one pixel. The buttons sink on press and swell on release.

How it works

The curtain with the belly edge

A div as tall as the stage plus the curve (width times 150.5/1456, like the site), in the new colour, with a double mask: a full rectangle and under it the SVG of the belly. An object p goes from 0 to 1 in 0.85 s power2.out and at every frame the curtain takes translateY((p - 1) * height). The measures are read again at every frame, so a resize halfway through is followed.

The line that stays still

Inside the line with the name there is a second, identical curtain, clipped by the line (overflow hidden), carrying the copy with the new text. The curtain moves down by e, the copy moves up by -e: the new text does not move, the edge uncovers it.

The colours when the edge passes

For every word the share of the run at which the edge passes its bottom is worked out, (bottom + curve) / height, and the power2.out ease is searched for the first moment that reaches it: there a call of the timeline changes the --ink variable. The same for the buttons and for the start of the counter.

The diving letters

Every letter is a span in a line with overflow hidden. The old ones go down by their height + 2 px in 0.32 s power2.in, 0.08 s apart; the new ones wait underneath and rise in 0.42 s power3.out once all have gone down and the edge has passed the line (the later of the two moments, like the site).

The roll that rolls

GSAP only moves a number x; a ticker turns it into the transform of the roll and the rotation of its face, x divided by the radius in pixels, so it really rolls without sliding. The hanging end is a spring pulled against the speed: it swings while the roll runs and stops on its own.

Values to change

NameFileDefaultWhat it changes
CURTAINscript.js0.85Seconds the new colour takes to come down (the site uses 0.85).
BELLYscript.js0.1034Depth of the belly against the width (the site uses 150.5/1456).
DIPscript.js0.32Seconds of a letter's dive.
RISEscript.js0.42Seconds of a letter's rise.
STAGGERscript.js0.08Seconds between one letter and the next.
ROLLscript.js1.05Seconds the new roll takes to roll in.
SWINGscript.js1How much the hanging end swings.
PAUSEscript.js2.4Left alone, seconds on each tape.
GRAINscript.js0.07How much grain on the colours.

Try them in the Playground

When to use it

For the showcase of a range of sibling products told apart by colour: tapes, notebooks, drinks, cosmetics, socks. The full colour of each product becomes the page, and the big word gives it a character.

On phones

The same curtain and the same letters: the belly is measured on the real width, the word is min(14vw, 15.5vh), the roll takes the height that is left. The line with the name goes above the numbers and the arrows, Explore and the top line disappear. You change tape by dragging: the roll follows the finger rolling and past 50 px the change starts.

With reduced motion

No curtain coming down, no dives and no rolling: the new colour, the word and the roll fade in where they belong and the digits change at once.

Pitfalls

  • The line copied into the curtain has to be placed in stage coordinates: the small curtain starts at minus the left and top of the line, the copy at plus, otherwise the new text jumps a few pixels as it is uncovered.
  • The new letters have to be made and put under the line before the timeline is built: made inside a call they would not be part of tl.progress(1), and a quick click would leave the word halfway.
  • With old and new words of different lengths, the two words sit in the same grid cell, one over the other: the line takes the width of the longer one and the centre does not jump.
  • The roll is not moved with GSAP's x on the element: a ticker writes the transform from a number, so the rotation always follows the movement, during a drag too.
  • page.evaluate of gsap.globalTimeline.timeScale() sends the whole timeline back and hangs Playwright: in tests the call has to be wrapped in a function that returns nothing.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 12 KB; the libraries: GSAP 28 KB.

Testing

Tested on 17 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