Skip to content
animorio
IT
Back to the library

The crumbling manifesto

Text, ScrollGSAPAdvancedCompressed weight: Demo 3.7 KBGSAP + ScrollTrigger + SplitText 49 KBFreeDownload the zip

Scroll inside the preview

Scattered sentences on a still stage: scroll fast and they tremble, with a window of wrong signs running along the words; keep going and they fall letter by letter, while in the middle one sentence writes itself.

Rebuilt from scratch studying noth.in by Thomas Carré, Pierre Patrault: 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>
<!--
  "The crumbling manifesto" 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="it">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Il manifesto che si sbriciola</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/standard.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <section class="apertura">
    <h1 class="apertura__titolo">Prima togliamo.</h1>
    <p class="apertura__testo">Scorri in fretta e il testo trema. Continua a scorrere e il superfluo cade.</p>
  </section>

  <section class="manifesto" data-manifesto>
    <div class="manifesto__palco">
      <p class="blocco" style="--x: 7%; --y: 13%; --yt: 12%">effetti per riempire</p>
      <p class="blocco" style="--x: 55%; --y: 23%; --yt: 22%">parole che non servono</p>
      <p class="blocco blocco--largo" style="--x: 64%; --y: 64%">rumore, rumore, rumore</p>
      <p class="blocco" style="--x: 9%; --y: 74%; --yt: 72%">idee prese in prestito</p>
      <p class="blocco blocco--rumore blocco--largo" style="--x: 58%; --y: 84%" aria-hidden="true">#$(!?§&amp;&lt;&gt;@*+-/§$</p>
      <p class="frase" data-frase>Resta quello<br>che serve.</p>
    </div>
  </section>

  <section class="chiusura">
    <p>Tutto il resto è caduto.</p>
  </section>

  <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/SplitText.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.

21 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 “The crumbling manifesto” 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

The screen stops on a black background with four or five scattered sentences, all things to be removed. Scroll slowly and they stay still; scroll fast and they tremble: along each sentence runs a window of letters replaced by random signs, denser the faster you go. Keep scrolling and every letter falls on its own, slightly sideways, spinning, and disappears. Meanwhile in the middle one sentence writes itself, left to right, with its last letters still jumbled; when you stop, it reads clean.

How it works

A still stage

The section is 2.6 screens tall and holds a position: sticky panel one screen tall: you scroll, but the scene stays still. The sentences are split into letters with SplitText and each letter gets a fixed width in em, so when it changes sign its neighbours do not move.

The trembling

The scroll speed (a ScrollTrigger’s getVelocity) becomes a push between 0 and 0.45 that loses 10% per frame; the trembling follows it by 14%. Every eight frames a window of 22 letters moves along the sentences, and each letter in the window becomes a random sign with probability trembling × (1 − distance/22)^0.6.

The fall

A timeline tied to scrolling (scrub 2) from the top of the section until its centre reaches 30% of the screen: each letter falls 40–160 pixels, moves ±10, turns ±20 degrees and fades on power2.in, at its own moment (sentence × 0.06 plus a random amount up to 0.6).

The sentence that writes itself

From 25% of the fall onwards, the sentence in the middle shows as many letters as the timeline has advanced; the last four are random signs. When scrolling stops, the head reads clean too.

Values to change

NameFileDefaultWhat it changes
VELOCEscript.js3400Scroll pixels per second that make it tremble the most: lower, it trembles sooner.
FINESTRAscript.js22How many letters are in the trembling window.
CADUTAscript.js[40, 160]How many pixels a letter falls, from and to.
CODAscript.js4How many jumbled signs at the head of the sentence being written.

Try them in the Playground

When to use it

For a manifesto or a statement where the last sentence matters: the surrounding text crumbles and leaves that one alone. Use it once per page.

On phones

It works the same with a finger, which gives the scroll its speed. Three scattered sentences remain, all from the left margin, and the text never goes below 14 pixels.

With reduced motion

No trembling and no falling: as you scroll the scattered sentences fade and the one in the middle appears whole.

Pitfalls

  • Changing a letter’s text changes its width and the whole line dances: fix each letter’s width in em after splitting the text, with the font already loaded.
  • The trembling runs only while the section is on screen (onToggle): there is no need for a loop rewriting invisible letters.
  • When the trembling dies down, put the original letters back, or some random signs stay forever.
  • The random values of the fall are decided once, when the timeline is built: with scrub the same position must always give the same scene.

Libraries

GSAP 3.15.0, ScrollTrigger (GSAP) 3.15.0, SplitText (GSAP) 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 3.7 KB; the libraries: GSAP + ScrollTrigger + SplitText 49 KB.

Testing

Tested on 27 September 2026

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

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