
Woven thread background
Backgrounds, Hover
A page background for the opening of a made-up print studio, on warm paper: behind the headline sits a halftone screen of midnight blue ink dots at 45 degrees, like a newspaper photo seen up close. The dot sizes follow a soft light that breathes and drifts slowly; the pointer pushes a wave through the dots, which swell and spring back, and a click drops a ring. Minimal style, canvas 2D.
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>
<!--
"Halftone background" 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>Halftone background</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/opsz.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- the opening of an invented print studio, Grainline Press, on warm paper: behind the words a halftone screen of
ink dots at 45 degrees, like a newspaper photo seen up close. Each dot grows and shrinks with a soft light that
drifts slowly across the page; the pointer pushes a wave of ink through the dots, a click drops a ring -->
<main class="stage" data-stage>
<canvas class="screen" data-screen aria-hidden="true"></canvas>
<span class="grain" aria-hidden="true"></span>
<span class="crop crop--tl" aria-hidden="true"></span>
<span class="crop crop--tr" aria-hidden="true"></span>
<span class="crop crop--bl" aria-hidden="true"></span>
<span class="crop crop--br" aria-hidden="true"></span>
<section class="hero" aria-labelledby="hero-title">
<p class="kicker" data-in><span class="kicker__mark" aria-hidden="true"></span>Grainline Press</p>
<h1 class="title" id="hero-title" data-in>Printed,<br><em>one dot at a time.</em></h1>
<p class="lede" data-in>Risograph and letterpress for books, posters and small runs.</p>
<p class="meta" data-in><span>85 lpi</span><span class="meta__rule" aria-hidden="true"></span><span>Screen 45°</span><span class="meta__rule" aria-hidden="true"></span><span data-tone>Tone 42%</span></p>
</section>
</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.
21 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Halftone background” from Animorio and fit it into my siteThe dots sit on a regular grid rotated 45 degrees around the page centre, the newspaper angle, rebuilt on every resize: only the ones that fall inside the screen are created.
Each dot’s tone is a top-to-bottom gradient plus two Gaussian bells that drift and breathe on slow sines and cosines. The radius is the square root of the tone, so the ink area grows with the tone: the rule of real halftone.
Each dot has an extra push with its own velocity. The pointer, scaled by its speed, sets a bell-shaped target; the click rings set a target on their edge. Every frame the push moves towards the target on a damped spring: it overshoots a little and settles.
All the dots go into one canvas path and one fill per frame, with the time step capped at a thirtieth of a second: thousands of dots at 60 frames per second.
Over the canvas an SVG paper grain in multiply, the crop marks in the corners and, behind the headline, a paper-coloured radial that lightens the dots just enough to read.
| Name | File | Default | What it changes |
|---|---|---|---|
CELL | script.js | 13 | Distance between the screen’s dots, in pixels. |
ANGLE | script.js | 45 | Angle of the screen, in degrees. |
MAX_DOT | script.js | 0.52 | Largest dot radius, as a share of the distance. |
DRIFT | script.js | 1 | Speed of the drifting light. |
PUSH | script.js | 150 | Radius of the pointer’s wave, in pixels. |
SPRING | script.js | 1 | How lively the dots’ spring is. |
RING_SPEED | script.js | 420 | Speed of the click ring, in pixels per second. |
AUTO_PILOT | script.js | 3 | After how many idle seconds the ghost pointer passes (0 never). |
Behind the opening headline of a print studio, a magazine, a graphic design studio or a portfolio that works with print; as the background of a landing page that wants the feel of printed paper.
The same screen with adapted sizes: the headline is sized on width and height together, the dots are rebuilt on every resize, and a tap pushes the wave and drops the ring.
The screen stays, still: the light does not drift, pointer and click leave the dots alone, the words and crop marks are already in place.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, Newsreader (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.0 KB; the libraries: GSAP 28 KB.
Tested on 24 November 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.
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.