
Speeding marquee
Scroll, Text, Hover
The lineup card of a festival: four acts with their times and a clock running through the evening. Whoever is on stage opens up: the name widens and gains weight on the variable font’s axes, a thin line fills with the set, three bars move with the music and the minutes left go down. Those who have played fade, the next one counts the minutes. Tapping an act takes the clock to its start.
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>
<!--
"Festival schedule" 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>Tonight’s lineup with the running clock and the act on stage that grows</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>
<main class="stage">
<!-- the lineup card of a festival app: four acts with their times and a clock that runs through the evening; the
act on stage opens, its name grows wider and heavier, a thin line fills with the set and three bars move with
the music; the acts already played fade, the next one counts the minutes; tapping an act takes the clock to
its start -->
<section class="card" data-card aria-label="Tonight on the main stage">
<span class="card__beam" aria-hidden="true"></span>
<header class="head">
<div>
<p class="head__place">Main stage, Saturday</p>
<h1 class="head__title">Tonight</h1>
</div>
<p class="clock" aria-hidden="true"><span data-hh>19</span><i>:</i><span data-mm>52</span></p>
</header>
<ol class="acts">
<li class="act" data-act data-from="1200" data-to="1255">
<button class="act__row" type="button"><span class="act__time">20:00</span><span class="act__name"><span>Marlow Tide</span></span><span class="act__state"><span data-state></span></span></button>
<div class="act__more" data-more><div class="act__in"><span class="eq" aria-hidden="true"><i></i><i></i><i></i></span><span class="act__what">Opening set</span><span class="bar"><span data-bar></span></span><span class="act__left" data-left></span></div></div>
</li>
<li class="act" data-act data-from="1275" data-to="1345">
<button class="act__row" type="button"><span class="act__time">21:15</span><span class="act__name"><span>Neon Orchard</span></span><span class="act__state"><span data-state></span></span></button>
<div class="act__more" data-more><div class="act__in"><span class="eq" aria-hidden="true"><i></i><i></i><i></i></span><span class="act__what">Live band</span><span class="bar"><span data-bar></span></span><span class="act__left" data-left></span></div></div>
</li>
<li class="act" data-act data-from="1365" data-to="1450">
<button class="act__row" type="button"><span class="act__time">22:45</span><span class="act__name"><span>Velvet Static</span></span><span class="act__state"><span data-state></span></span></button>
<div class="act__more" data-more><div class="act__in"><span class="eq" aria-hidden="true"><i></i><i></i><i></i></span><span class="act__what">Headliner</span><span class="bar"><span data-bar></span></span><span class="act__left" data-left></span></div></div>
</li>
<li class="act" data-act data-from="1465" data-to="1560">
<button class="act__row" type="button"><span class="act__time">00:25</span><span class="act__name"><span>Sola Ray</span></span><span class="act__state"><span data-state></span></span></button>
<div class="act__more" data-more><div class="act__in"><span class="eq" aria-hidden="true"><i></i><i></i><i></i></span><span class="act__what">DJ set</span><span class="bar"><span data-bar></span></span><span class="act__left" data-left></span></div></div>
</li>
</ol>
</section>
<p class="sr" data-live aria-live="polite"></p>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></path></svg>
</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.
28 values to change
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 “Festival schedule” from Animorio and fit it into my siteThere is a single number, the minutes since midnight, advancing on GSAP’s ticker by SPEED minutes a second. paint compares it with the start and end of each act (data-from and data-to) and decides: played, on stage, coming.
The row on stage takes the is-live class: in the CSS the name goes from weight 560 to 760 and from width 100% to 120%, on a curve that slightly overshoots; the scale (1.22) sits on the same span with its origin on the left, so the row does not reflow.
Under each row there is a block zero tall with overflow hidden: GSAP takes to 34 pixels the one of the act on stage (or the next one, if nobody is playing) and to zero the others. One is always open, so the card does not change height.
The line is an element scaled horizontally with the fraction of the set gone by; the minutes left are rewritten at every step. The three bars scale vertically with two multiplied sines, different for each bar: they seem to follow the music.
jump stops the clock, takes it with a tween to that act’s start and lets it run again: the whole lineup follows because it reads only that number.
| Name | File | Default | What it changes |
|---|---|---|---|
START | script.js | 19:52 | The time the evening starts from. |
SPEED | script.js | 22 | How many minutes of the evening pass in a second. |
OPEN | script.js | 0.7 | How long the spring of the opening row lasts, in seconds. |
ACCENT | script.js | #ff4f8b | The colour of whoever is on stage. |
WARM | script.js | #ffb347 | The second colour of the line and the light. |
BEAT | script.js | 1 | How much the three music bars move (0 = still). |
LOOP | script.js | true | Left alone, the evening runs and starts again. |
For the app or site of a festival, a live music venue, a conference or a film season: the card that says who is on now and who comes next. On a real site the clock is the phone’s and SPEED is not needed.
The same card, as wide as the screen: on narrow screens the name on stage grows a little less and the open row starts from the left edge, so the line and the minutes fit.
The clock does not run: the card is shown still halfway through the second set, with the name already wide, the line already filled for its part and the bars still. Tapping an act takes the lineup straight to its start.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.6 KB; the libraries: GSAP 28 KB.
Tested on 14 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.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
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.