
Ink that reveals
WebGL, Hover
A sphere made of three thousand particles of violet light turning slowly on a near-black page, in the style of today’s interface libraries: where the pointer passes the particles move out of the way on a spring and come back with a small bounce; a tap sends a wave across the surface and a drag spins the sphere with inertia.
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>
<!--
"Particle sphere" 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>Lumora</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
<script type="importmap">
{ "imports": {
"three": "https://cdn.jsdelivr.net/npm/three@0.178.0/build/three.module.min.js"
} }
</script>
</head>
<body>
<!-- a made-up data platform, Lumora. A sphere made of a few thousand particles turns slowly on a near-black page;
the particles near the pointer move out of the way on a spring and come back when it leaves; a tap sends a wave
across the surface, and a drag spins the sphere with inertia -->
<main class="palco" data-palco>
<canvas class="tela" data-tela role="img" aria-label="A sphere made of glowing particles that move away from the pointer"></canvas>
<!-- if WebGL is missing: a soft ring of light -->
<div class="ripiego" data-ripiego aria-hidden="true"><span></span></div>
<div class="racconto" data-racconto>
<span class="etichetta">Lumora Graph</span>
<h1 class="titolo">Every signal, in one place</h1>
<p class="riga">Move closer and the data makes room.</p>
</div>
<!-- the drawn pointer of the preview, hidden as soon as someone moves a real one -->
<svg class="finto" data-finto viewBox="0 0 24 24" aria-hidden="true">
<path d="M5 3.5 L5 19 L9.2 15.2 L12 21 L14.6 19.8 L11.9 14.2 L17.6 14.2 Z" />
</svg>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script type="module" 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.
14 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 “Particle sphere” from Animorio and fit it into my siteThe positions come from a Fibonacci spiral: each particle climbs an equal step in height and turns by the golden angle, so the surface is covered evenly with no crowded poles. They are a single THREE.Points with our own ShaderMaterial and additive blending.
In the vertex shader the particle’s normal, taken into camera space, says how much it faces us: that sets the size of the point and, in the fragment shader, the colour, from the dark accent behind to the light one in front, with a sharp core and a soft glow.
The ray from the pointer meets the sphere with the intersection formula (no objects to hit), and the point is taken into the sphere’s space with worldToLocal, so it stays on the right particles while the sphere turns.
Each particle has an offset and a velocity: the pointer’s push fades with the square of the distance and carries it away along the surface and a little outwards, a damped spring brings it back with a small bounce. On a slow frame the step is split in two so the spring does not explode.
A tap adds a wave: the angular distance from the touched point minus the advancing front gives a narrow band that swells the sphere for a moment and fades in just over two seconds. Dragging turns the sphere with the finger, and once released it slowly returns to its own speed.
| Name | File | Default | What it changes |
|---|---|---|---|
PARTICLES | script.js | 3200 | How many particles make the sphere. |
RADIUS | script.js | 1 | How big the area that moves away around the pointer is (1 = about a fifth of the sphere). |
STRENGTH | script.js | 1 | How far the particles move away from the pointer. |
SPRING | script.js | 1 | How quickly they come back (higher = stiffer spring, shorter bounce). |
SPIN | script.js | 0.12 | How fast the sphere turns (radians per second). |
GLOW | script.js | 1 | How much the particles and the halo behind the sphere glow. |
For the hero of a data, AI or network product, a launch page, or as a living background behind a headline: a single calm object that answers whoever touches it.
The same animation with adapted sizes: the camera pulls back as far as needed for the whole sphere to fit the box above the words, the finger pushes the particles away and every tap sends the wave; dragging spins the sphere.
The sphere stays still and already formed, with no rotation, springs or waves; the words fade in.
Three.js 0.178.0, GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.9 KB; the libraries: GSAP 28 KB, Three.js 174 KB.
Tested on 25 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.