Skip to content
animorio
IT
Back to the library

Five books in noise

Transitions, TextGSAP, CanvasAdvancedCompressed weight: Demo 10 KBGSAP 28 KBFreeDownload the zip

The five covers of a made-up comic saga, Emberfell: each book is a warm field of colour with a thin horizon and its name set large. A tick of the wheel, a swipe, an arrow key or a diamond on the left turns the book: the new field eats the old one through a mask of fractal noise with a soft edge, with a gold thread where the threshold runs, and the title leaves and comes back letter by letter. Minimal style, warm paper, ink and a single gold.

Rebuilt from scratch studying thorgal.com by Caracal, REEPLE Studio: 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>
<!--
  "Five books in noise" 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>The transition between five books dissolving into noise</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/mulish@5.3.0/index.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- a made-up comic saga in five books, Emberfell, from a made-up publisher, Quire Press. Each book is a plain warm
       field of colour with a thin horizon. A tick of the wheel, a swipe, an arrow key or a diamond on the left turns
       the book: the new field eats the old one through a mask of noise with a soft edge and a thin gold thread, while
       the title leaves and comes back letter by letter -->
  <main class="palco" data-palco>
    <canvas class="tela" data-tela aria-hidden="true"></canvas>
    <div class="grana" aria-hidden="true"></div>

    <h1 class="nascosto">Emberfell, a saga in five books</h1>
    <p class="marchio">Emberfell</p>
    <p class="editore">Quire Press</p>

    <nav class="porte" aria-label="The five books">
      <span class="porte__linea" aria-hidden="true"></span><span class="porte__oro" data-oro aria-hidden="true"></span>
      <button class="porta" type="button" data-porta aria-label="Kindling"><span class="porta__scala" data-scala><span class="rombo"></span><span class="rombo__pieno" data-pieno></span></span><span class="porta__nome" data-nome>Kindling</span></button>
      <button class="porta" type="button" data-porta aria-label="Ashgrove"><span class="porta__scala" data-scala><span class="rombo"></span><span class="rombo__pieno" data-pieno></span></span><span class="porta__nome" data-nome>Ashgrove</span></button>
      <button class="porta" type="button" data-porta aria-label="The Thaw"><span class="porta__scala" data-scala><span class="rombo"></span><span class="rombo__pieno" data-pieno></span></span><span class="porta__nome" data-nome>The Thaw</span></button>
      <button class="porta" type="button" data-porta aria-label="Saltwind"><span class="porta__scala" data-scala><span class="rombo"></span><span class="rombo__pieno" data-pieno></span></span><span class="porta__nome" data-nome>Saltwind</span></button>
      <button class="porta" type="button" data-porta aria-label="Last Ember"><span class="porta__scala" data-scala><span class="rombo"></span><span class="rombo__pieno" data-pieno></span></span><span class="porta__nome" data-nome>Last Ember</span></button>
    </nav>

    <div class="finestra">
      <div class="colonna" data-colonna>
        <section class="libro" data-libro data-orizzonte="0.73">
          <p class="libro__badge"><span class="filo" data-filo></span><span class="badge"><span data-badge>Emberfell</span></span><span class="filo" data-filo></span></p>
          <h2 class="libro__titolo" data-titolo>Kindling</h2>
          <p class="libro__riga"><span class="riga"><span data-riga>A spark kept alive through a winter of silence.</span></span></p>
        </section>
        <section class="libro" data-libro data-orizzonte="0.69">
          <p class="libro__badge"><span class="filo" data-filo></span><span class="badge"><span data-badge>Emberfell</span></span><span class="filo" data-filo></span></p>
          <h2 class="libro__titolo" data-titolo>Ashgrove</h2>
          <p class="libro__riga"><span class="riga"><span data-riga>Where the old forest burned, a road begins.</span></span></p>
        </section>
        <section class="libro" data-libro data-orizzonte="0.77">
          <p class="libro__badge"><span class="filo" data-filo></span><span class="badge"><span data-badge>Emberfell</span></span><span class="filo" data-filo></span></p>
          <h2 class="libro__titolo" data-titolo>The Thaw</h2>
          <p class="libro__riga"><span class="riga"><span data-riga>Rivers wake, and with them every buried promise.</span></span></p>
        </section>
        <section class="libro" data-libro data-orizzonte="0.71">
          <p class="libro__badge"><span class="filo" data-filo></span><span class="badge"><span data-badge>Emberfell</span></span><span class="filo" data-filo></span></p>
          <h2 class="libro__titolo" data-titolo>Saltwind</h2>
          <p class="libro__riga"><span class="riga"><span data-riga>A coast that remembers every ship it took.</span></span></p>
        </section>
        <section class="libro" data-libro data-orizzonte="0.75">
          <p class="libro__badge"><span class="filo" data-filo></span><span class="badge"><span data-badge>Emberfell</span></span><span class="filo" data-filo></span></p>
          <h2 class="libro__titolo" data-titolo>Last Ember</h2>
          <p class="libro__riga"><span class="riga"><span data-riga>The fire goes home to the hearth that lit it.</span></span></p>
        </section>
      </div>
    </div>

    <p class="invito" data-invito aria-hidden="true">Scroll to turn the book</p>
  </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.

49 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 “Five books in noise” 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

It opens on warm white paper: from the paper, in patches that spread, an ember-orange field with a thin horizon comes through, and the letters of “Kindling” rise from below one at a time, with the rules and the word “Emberfell” above and a line under it. Top left “Emberfell”, top right “Quire Press”; on the left five diamonds joined by a thin line, the open book’s bigger and filled, with its name beside it. A tick of the wheel, a swipe up or down, an arrow key or a click on a diamond turns the book: the new field (sand, rust, bone, warm black) comes in through the patches of a fractal noise, with a soft edge like burning paper and a thin gold thread right where the threshold runs, and in 2.4 seconds it eats the whole old one, horizon included. Meanwhile the letters of the title rise away one after the other, at one second the column of words jumps to the new book while the words are out, the new diamond fills with a small snap, its name rises letter by letter and the gold segment on the line slides from one diamond to the other; then the new letters rise from below, gain weight as they arrive and the word settles by one pixel. If nobody touches it, the books turn on their own and after the fifth the first comes back; underneath, “Scroll to turn the book” ripples every four seconds.

How it works

Two fields and a small mask

The background is a 2D canvas: the old field is drawn whole, the new field is drawn on a second canvas and cut with destination-in by a mask with one cell every 5 pixels (at most 320 columns), stretched to full size with the browser’s high smoothing. So the edge comes out soft without computing millions of pixels, and without WebGL: it holds up even without a graphics card.

The noise and the site’s threshold

The mask comes from a four-octave Perlin fbm on uv times 2.5, measured on the height so the patches stay round, stretched between 0 and 1. As on the site, 75 per cent is a fixed noise and 25 a second noise that slides slowly with time (0.00003 per millisecond). The threshold is progress times (1 + edge times 0.2) minus edge, with edge 0.08, and each cell takes smoothstep(threshold minus edge, threshold plus edge, noise): 1 keeps the old, 0 shows the new.

The gold thread

A second layer, on a grid twice as fine, measures for each point how many pixels away the threshold is (the difference from the noise divided by its slope) and lights up only within a pixel and a half (THREAD, 1.6 pixels): stretched as well, it becomes a thin gold thread running along the edge, fading out at the start and the end of the turn.

The words out and in

The titles are split into letters, each in a window with overflow clip and 0.15em of margin below. They leave to yPercent −115 and come back from 115 to 0 in 0.8 s, staggered by 0.01; at one second (SWAP) the column of the five books jumps by one screen with no transition, just as the site does while the words are out. The curve is cubic-bezier(.42, 0, .58, 1), Motion’s easeInOut, solved by hand in a function GSAP uses as an ease (power1.inOut would be almost the same).

Diamonds, wheel and turning alone

On the left each diamond is a square rotated 45 degrees in CSS, inside a wrapper GSAP scales: the active one goes to 1.25 with a small back.out and the filled diamond from 0 to 1; the name rises letter by letter in 0.3 s. The wheel turns the book above 10 of deltaY, once per gesture; the finger after 50 pixels. Turning alone is a GSAP delayedCall: after a touch it waits longer, and the noise of the next turn is made while the book stands still.

Values to change

NameFileDefaultWhat it changes
DURATIONscript.js2.4Seconds the new field takes to eat the old one.
EDGEscript.js0.08Softness of the edge of the noise.
GRAINscript.js2.5Size of the noise: higher, smaller and more patches.
THREADscript.js1.6Pixels of the gold thread on the edge; 0 hides it.
SWAPscript.js1Seconds into the dissolve when the active book changes.
TEXTscript.js0.8Seconds each letter of the title takes to leave or come back.
STAGGERscript.js0.01Seconds between one letter and the next.
HOLDscript.js2.2Seconds each book stays still when they turn on their own.
RESTscript.js6Seconds after a touch before turning on their own again.
WHEELscript.js10How hard a tick of the wheel must be to turn the book.
SWIPEscript.js50Pixels a finger must travel to turn the book.
CELLscript.js5Pixels of one cell of the noise: the mask is drawn small and stretched.

Try them in the Playground

When to use it

For the home page of a book series, a comic saga or a publisher, for the chapters of a story, the seasons of a show, the collections of a fashion or fragrance brand: a few full screens, one at a time, turned with the wheel like pages.

On phones

The same curves and the same timings: it turns with a 50 pixel swipe up or down or by tapping a diamond. The names beside the diamonds hide below 760 pixels, as on the site; the title is sized on both width and height, so it fits the phone preview.

With reduced motion

No spreading patches and no rising letters: the new field appears with an even fade over the whole screen in 0.8 seconds, the words fade and the names of the diamonds appear without moving. No ripple underneath.

Pitfalls

  • A full-resolution mask on a 2D canvas is too slow: it is computed small and stretched with drawImage, and the soft edge comes free from the smoothing.
  • Fractal noise does not go from 0 to 1 but stays narrow around the middle: without stretching it, half of the dissolve shows nothing.
  • Computing the new noise at the start of the turn causes a hitch: it is made while the book stands still.
  • A trackpad wheel sends dozens of events for a single gesture: take one per gesture, and none while a turn is running.
  • The diamond is rotated in CSS and scaled by GSAP: on different elements, or GSAP’s inline transform wipes out the rotation.

Libraries

GSAP 3.15.0, Fraunces (font variabile) 5.3.0, Mulish (font variabile) 5.3.0.

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

Testing

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