
Long shadow letters
Text, Scroll, 3D
Scroll inside the preview
A minimal scroll and text animation: a sentence that will not end. A short line is closed by an orange full stop; scrolling down, the full stop squashes slightly and grows a tail, becomes a comma, and the next line writes itself after it, closed by a new full stop. Three times, until the sentence is whole, always in the middle of the page. On arrival the commas nod one after the other and the last full stop settles by a pixel; tap it and it turns into a comma for a moment.
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>
<!--
"Full stop to comma" 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 full stop that turns into a comma on scroll</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>
<!-- one sentence that will not end. It starts as a short line closed by an orange full stop; scrolling down, the full
stop grows a tail and becomes a comma, and the next line writes itself after it, closed by a new full stop.
Three times, until the sentence is whole. Hover the last full stop and it leans; tap it and it turns into a comma
for a moment, as if the sentence could still go on -->
<main class="pagina">
<section class="corsa" data-corsa aria-label="We make small things, slowly, by hand, and let them go.">
<div class="palco">
<p class="marchio">Tallow Studio</p>
<div class="frase" data-frase aria-hidden="true">
<p class="riga" data-riga>We make small things</p>
<p class="riga" data-riga>slowly</p>
<p class="riga" data-riga>by hand</p>
<p class="riga" data-riga>and let them go</p>
</div>
<p class="scendi" data-scendi>Scroll</p>
</div>
</section>
</main>
<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/lenis@1.3.26/dist/lenis.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 “Full stop to comma” from Animorio and fit it into my siteThe full stop at the end of every line is not a character but a small SVG sized in em: a circle sitting on the baseline and, under it, the tail of the comma, a stroke with pathLength 1 drawn with stroke-dashoffset. So the full stop and the comma are one thing in two states.
How far down the section you are is read from getBoundingClientRect and becomes the target of a spring (stiffness 150, damping 0.78) in GSAP’s ticker: the sentence arrives a little after the scroll and, when you stop, it settles with a small bounce.
The run is split into three equal steps. In the first third of each step the full stop grows its tail and squashes on a sine, then the next line writes itself with a window of five letters moving together, each on the same spring.
The lines still to be written are already there, transparent, so the column never changes width; the whole sentence rises half a line for every line written, with a smoothstep, and its middle always stays in the middle of the page.
When the last line is written, a single timeline turns the commas a few degrees one after the other and drops the last full stop by a pixel, on the site’s spring; scrolling back far enough lets it happen again.
| Name | File | Default | What it changes |
|---|---|---|---|
RISE | script.js | 0.42 | How far below its place every letter starts, in em. |
WINDOW | script.js | 5 | How many letters move at the same time while a line is written. |
TAIL | script.js | 0.32 | Share of each step the full stop takes to grow its tail. |
SQUASH | script.js | 0.14 | How much the full stop squashes while the tail grows. |
STIFFNESS | script.js | 150 | How quickly the sentence catches up with the scroll. |
DAMPING | script.js | 0.78 | 1 = no bounce, lower = a small bounce when the scroll stops. |
INTRO | script.js | 1.6 | Seconds the first line takes to write itself. |
HOLD | script.js | 0.6 | Seconds the comma stays when you tap the last full stop. |
SMOOTH | script.js | 1.1 | Seconds of the smooth scroll; 0 for the browser’s own. |
For the manifesto or introduction section of a studio, a craft workshop, a portfolio or a blog: a single sentence that grows longer as you scroll, instead of a block of text.
The same animation with adapted sizes: the sentence takes its size from the width and the height of the box, and a tap on the last full stop makes it grow its tail again.
The sentence appears already whole, with the three black commas and the last orange full stop, in a fade; no rising letters, no tails drawing themselves, no smooth scroll.
GSAP 3.15.0, Lenis 1.3.26, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 5.5 KB; the libraries: GSAP + ScrollTrigger 45 KB, Lenis 5.3 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.