
Standing letters with a long shadow
Text, Scroll, 3D
NewFree
As you scroll, the two words of the title open towards the edges and a spinning globe of covers grows between them, made with CSS 3D only.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN.
The code for this animation is part of lifetime access.
The preview stays open: watch it, slow it down, try it on your phone.
Lifetime accessThe Fibonacci spiral spreads N points evenly: y goes from 1 to -1, the radius of the circle at that height is the square root of 1 - y², and the angle grows by the golden angle each time. No rows and no crowded poles.
One transform per cover is enough: rotateY(atan2(x, z)) rotateX(asin(y)) translateZ(R). First it turns towards its point, then it moves out along the normal. With backface-visibility hidden the ones at the back disappear.
CSS has no fog: on every frame the z of each cover after rotation is computed (two sines and two cosines) and used for opacity. The ones in front are solid, the ones edge-on fade out.
The words move with x, not with the title's width: the distance to the edge is measured with offsetLeft and offsetWidth, which ignore transforms. With invalidateOnRefresh the measure is redone on every resize.
| Name | File | Default | What it changes |
|---|---|---|---|
QUANTE | script.js | 44 (28 sul telefono) | How many covers on the sphere. Above sixty CSS 3D starts to get heavy: switch to WebGL. |
GIRI | script.js | 1.4 | How many turns the globe makes over the whole run, on top of the ones it makes by itself. |
INCLINAZIONE | script.js | 14 | Degrees of tilt: the globe is seen slightly from above. |
RAGGIO | script.js | 0.3 | The radius as a fraction of the screen's short side. |
For the entrance of a work archive or a catalogue with many covers. The globe shows quantity and variety at a glance, not the single piece: a real list is needed next to it.
It works: fewer covers (28) and a slightly larger radius in proportion. The words still reach the edges on a narrow screen.
No rotation and no run: words at the sides and a still globe, already visible.
GSAP 3.15.0, ScrollTrigger (GSAP) 3.15.0, Mona Sans (font variabile) 5.3.0.
Weight: 9.1 KB of our own files.
Tested on 26 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.
With your account’s email and password.
You’re signed in as .
Your plan is free. When lifetime access arrives, it will switch on for this same account.