Skip to content
animorio
IT
Back to the library

Words on a sliding grid

Scroll, TextGSAPMediumCompressed weight: Demo 5.6 KBGSAP + ScrollTrigger + CustomEase 49 KBLenis 5.3 KBFreeDownload the zip

Scroll inside the preview

A phrase in huge words, set like a staircase on the cells of a grid of thin lines: every column is half a minute of a track. Scrolling, the grid slides to the left like a timeline under a still orange playhead that reads the minute, the words follow a little slower, each a little after the one before, and the one passing under the playhead gets fuller. Minimal style, black and white with a single accent.

Rebuilt from scratch studying paulkalkbrenner.net by Holographik, Ilja van Eck: 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>
<!--
  "Words on a sliding grid" 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>Kasimir Tessmar, Slow Engine</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/jetbrains-mono@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- a made-up electronic musician, Kasimir Tessmar. A grid of thin columns, each one thirty seconds of a track,
       and a phrase set in huge words across its cells. Scrolling, the grid slides to the left like a timeline under
       a still orange playhead, and the words follow a little slower; the word under the playhead swells -->
  <header class="testa">
    <div class="testa__riga">
      <span class="testa__nome">Kasimir Tessmar</span>
      <span class="testa__voce">Slow Engine, live 2026</span>
    </div>
    <p class="testa__frase">One track, nine minutes long, played the same way every night and never twice the same.</p>
    <span class="testa__scorri">
      <svg viewBox="0 0 10 14" aria-hidden="true"><path d="M5 1v11M1.5 8.5 5 12l3.5-3.5"/></svg>
      Scroll
    </span>
  </header>

  <section class="griglia" data-griglia aria-label="Feel the weight of every low note">
    <div class="griglia__linee" data-corsa></div>
    <div class="griglia__righe" data-righe></div>
    <div class="griglia__coperta" aria-hidden="true"></div>
    <div class="testina" data-testina aria-hidden="true">
      <span class="testina__tempo"><b data-tempo>0:00</b><i>/ 4:30</i></span>
      <span class="testina__filo"></span>
    </div>
  </section>

  <footer class="piede">
    <p class="piede__titolo">Next dates</p>
    <ul class="piede__date">
      <li><span>Berlin</span><span>Tempelhof Hangar 4</span><time>Nov 14</time></li>
      <li><span>Lisbon</span><span>Lux Frágil</span><time>Nov 21</time></li>
      <li><span>Osaka</span><span>Club Circus</span><time>Dec 05</time></li>
    </ul>
  </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="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/CustomEase.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>

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.

27 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 “Words on a sliding grid” 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

Under the name of the made-up musician Kasimir Tessmar and a short line, a grid arrives: ten columns of thin lines, each half a minute of the track (0:00, 0:30, 1:00… with four ticks in between), and three rows. As it enters the columns draw themselves from the top one after the other, the rows from the left, and last the orange playhead drops in with its minute. On the cells, like a staircase from top left to bottom right, the phrase “Feel the weight of every low note” in words as tall as a row. Scrolling, columns and rows slide to the left together, almost five columns in all, and vanish behind a white cover with its own border; the words start three quarters of their height behind and catch up, each a little after the one before, so they move slower than the grid. The playhead stays still and reads the minute of the track passing under it; the word under the playhead gets heavier and a touch wider, and goes back once it has passed. A fast scroll leans the words, and they straighten up by themselves with one pixel too many. Further down, the next tour dates.

How it works

One single unit

The whole grid is measured with --u, the smaller of 0.95vw and 2.15vh (on a phone 1.5vw and 1.6vh): column 35u, row 10u, words 12.5u with a 0.8 line height. That way it fits the window in width and in height.

One timeline, two speeds

A single timeline, tied to the scroll with scrub: columns and rows go to x = −4.75 columns (−6 on a phone) with ease none over the whole duration; the words start from x = 0.75em and reach 0 with a 0.03 stagger, in 0.85 of the duration. The lag is the parallax.

The playhead

Every frame the x of the playhead is compared with the x of the first column: the distance in columns times 30 seconds is the minute to write. Every word the playhead crosses takes its weight from 560 to 780 with a soft spring.

The lean

The speed of the scroll (ScrollTrigger’s getVelocity) becomes a skewX of at most 6 degrees that fades by itself when the scroll stops; quickTo with back.out brings it back to zero with a small bounce.

Values to change

NameFileDefaultWhat it changes
SLIDE_COLUMNSscript.js4.75How many columns the grid slides over the whole scroll.
SLIDE_COLUMNS_PHONEscript.js6The same on a phone, where fewer columns fit.
WORD_LAGscript.js0.75How far behind the words start, in their own height.
WORD_STAGGERscript.js0.03How much later each word starts than the one before.
LEANscript.js6How many degrees the words lean on a fast scroll.
SWELLscript.js220How much heavier the word under the playhead gets.
LERPscript.js0.09How soft the scroll is: lower is softer.

Try them in the Playground

When to use it

For the statement line of the site of a musician, a festival, a label or an audio app: a section to scroll through, that makes the rhythm of the scroll feel like the rhythm of a track.

On phones

The same animation with a bigger unit: fewer than two columns fit, the grid slides by six and the phrase reads as it passes, word by word, under the playhead.

With reduced motion

Nothing slides or leans: the grid is already drawn and still halfway, and the word under the playhead is already heavier.

Pitfalls

  • The rows and the track of the columns move by almost five columns: they must be as wide as the whole grid (half a column plus ten), not as the window, or the lines end before the words.
  • The words have descenders (the y of every): the section has three units more below the last row, or the overflow cuts them.
  • The lean only updates while the scroll moves: if it does not fade by itself the words stay crooked once the scroll stops. Here it decays every frame.
  • The scroll is measured with start clamp(top bottom) and end clamp(bottom top): that way the whole run fits in the scroll there is, even in a page as short as the preview box.

Libraries

GSAP 3.15.0, ScrollTrigger (GSAP) 3.15.0, CustomEase (GSAP) 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 5.6 KB; the libraries: GSAP + ScrollTrigger + CustomEase 49 KB, Lenis 5.3 KB.

Testing

Tested on 26 October 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