
Strings to pluck
Hover, Physics
Tool pills fall into a box with real physics: they bounce, pile up, and can be grabbed with the mouse or a finger and thrown.
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>
<!--
"Falling tools" 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>Attrezzi che cadono</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>
<main class="pagina">
<div class="testa">
<div>
<p class="sopra">La cassetta dell’animatore</p>
<h1 class="titolo">Prendili e lanciali</h1>
</div>
<button type="button" class="scuoti" data-autoclic>Scuoti la cassetta</button>
</div>
<!-- gli attrezzi sono elementi HTML veri: la fisica li muove con i trasformati -->
<div class="cassetta" data-cassetta>
<ul class="attrezzi" aria-label="Attrezzi">
<li class="attrezzo t1">easing</li>
<li class="attrezzo t2">stagger</li>
<li class="attrezzo t3">scrub</li>
<li class="attrezzo t4">pin</li>
<li class="attrezzo t1">timeline</li>
<li class="attrezzo t2">morph</li>
<li class="attrezzo t3">shader</li>
<li class="attrezzo t4">spring</li>
<li class="attrezzo t2">mask</li>
<li class="attrezzo t1">parallax</li>
<li class="attrezzo t3">keyframe</li>
<li class="attrezzo t4">blur</li>
<li class="attrezzo t1">SplitText</li>
<li class="attrezzo t3">ScrollTrigger</li>
<li class="attrezzo t2">Flip</li>
<li class="attrezzo t4">WebGL</li>
</ul>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/matter-js@0.20.0/build/matter.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 “Falling tools” from Animorio and fit it into my siteThe pills are HTML elements (text readable by screen readers, styled with CSS). For each one Matter.js creates a rectangle with corners rounded to half its height: the same shape, but invisible.
Physics advances in 1/60 s steps with an accumulator, independent of frames: with variable steps Matter becomes unstable. After each step the pills copy their bodies’ position and rotation through a transform.
Every body’s inertia is multiplied by 2.5: the pills tilt and roll little, so they almost never end up upside down.
On pointerdown an elastic constraint ties the grabbed point to the pointer; moving moves the constraint’s end. On release the constraint goes away and the pill’s speed becomes the throw. setPointerCapture keeps the drag going outside the pill.
| Name | File | Default | What it changes |
|---|---|---|---|
GRAVITA | script.js | 1.1 | Gravity: higher, they fall faster and bounce less. |
RIMBALZO / ATTRITO | script.js | 0.3 / 0.4 | How much they bounce and how much they grip each other. |
RIGIDITA | script.js | 2.5 | Multiplies rotational inertia: higher, they flip less. |
INTERVALLO | script.js | 90 | Milliseconds between one drop and the next. |
For a list that does not need to be read in order: tools, skills, clients, ingredients. It is a toy: the same information should also be there in a normal form.
It works with a finger. Only the pills block scrolling (touch-action none): touching outside the pills scrolls the page normally.
No physics: the pills sit in a row, still and readable.
Matter.js 0.20.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 4.1 KB; the libraries: Matter.js 25 KB.
Tested on 27 September 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.