
Falling tools
Physics, Hover
A minimal headline with physics inside its full stop: a short word set large on warm white, resting on a thin baseline, and the full stop is a small orange ball. When the pointer moves sideways the line tilts a hair that way and the ball really rolls: it speeds up, friction slows it, it knocks softly against the last letter or against the stop at the end of the line and squashes a little. When the pointer stops the line levels out and the ball rolls home, goes one pixel past its place and settles.
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>
<!--
"Rolling full stop headline" 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 headline with the rolling full stop</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="scena" data-stage>
<!-- the headline sits on a thin baseline; its full stop is a small ball that rolls on it when the line tilts -->
<div class="palco" data-palco>
<h1 class="parola" data-word aria-label="Level."></h1>
<svg class="binario" data-svg aria-hidden="true">
<defs>
<radialGradient id="lucePallina" cx="36%" cy="30%" r="72%">
<stop offset="0" style="stop-color: var(--luce)" />
<stop offset="0.42" style="stop-color: var(--accento)" />
<stop offset="1" style="stop-color: var(--accento-scuro)" />
</radialGradient>
</defs>
<path class="riga" data-line d="" />
<path class="fermo" data-stop d="" />
<ellipse class="ombra" data-shadow cx="0" cy="0" rx="0" ry="0" />
<g data-ball>
<circle class="pallina" data-ball-body cx="0" cy="0" r="0" fill="url(#lucePallina)" />
<path class="segno" data-mark d="" />
</g>
</svg>
</div>
<p class="nota" data-note>Move sideways to tilt the line</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>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.
19 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 “Rolling full stop headline” from Animorio and fit it into my siteAll that counts about the pointer is how fast it moves horizontally: the speed, in pixels per second, fades by itself when it stops and becomes the tilt, 1.6 degrees at most. The tilt chases that value on a spring that rocks a little as it levels out.
The ball feels five sevenths of the slope, like a solid sphere that rolls instead of sliding, minus a constant friction and a little drag; all in em, so a resize keeps it in place. Four physics steps per frame.
On the left the wall is the real ink edge of the last letter, measured with measureText; on the right the stop at the end of the line. Against a wall the ball keeps 42 per cent of its speed, squashes sideways on a spring and the wall gives way: the letter by a pixel, the stop bends.
Once the pointer stops, the ball heads for a point one pixel past its place on a spring with no bounce, then GSAP brings it back the last pixel with sine.inOut. It is a measured overshoot, the same at any distance.
The line is an SVG path rewritten every frame with a half-pixel dip under the ball, deeper when it lands; a pale seam on the ball turns by the distance travelled over the radius.
| Name | File | Default | What it changes |
|---|---|---|---|
WORD | script.js | Level | The word, without its full stop: the ball is the full stop. |
TILT | script.js | 1.6 | How far the line tilts at most, in degrees. |
SENSITIVITY | script.js | 420 | The pointer speed, in pixels per second, that tilts the line all the way. |
GRAVITY | script.js | 140 | How strongly the ball runs down the slope. |
FRICTION | script.js | 0.35 | Friction: how quickly the ball loses speed. |
BOUNCE | script.js | 0.42 | How much speed the ball keeps after a knock, from 0 to 1. |
TRACK | script.js | 1.5 | How much line there is after the word to roll on, in em. |
BALL | script.js | 0.19 | The size of the ball, in em of the headline. |
IDLE | script.js | 0.24 | Seconds of stillness before the ball rolls home. |
SPEED | script.js | 1 | 2 = twice as fast, 0.5 = half as fast. |
AUTOPILOT | script.js | true | An invisible pointer tilts the line when nobody touches it. |
For the opening of a portfolio, a design studio or a product about balance and precision: a headline that answers the pointer without filling the page.
The same animation with adapted sizes: the word is as big as the box allows, in width and height, and the line tilts as you drag a finger sideways.
The headline fades in with the full stop already in place; the line does not tilt and the ball does not roll.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.3 KB; the libraries: GSAP 28 KB.
Tested on 31 October 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.