
Ridge line background
Backgrounds, WebGL, Hover
The opening of Meridel Search, a made-up executive search firm, laid out as a premium product grid: the title, a line, the pill button and three cells with figures. The empty cells are windows on one background in hand-written WebGL: fBm noise with its space warped, turned into black and white dots by an 8x8 Bayer matrix, like an old 1-bit screen. The pointer stirs a small fluid simulation and its smoke becomes mint dots that curl and fade in half a second. Minimal premium style.
Rebuilt from scratch studying aspensearch.com by Edoardo Lunardi, Elliott Mangham, Louis Saville: the idea is theirs; code, copy and images are ours. Read how it’s made
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>
<!--
"Mint dither 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>The dithered field with mint smoke behind the grid</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/jetbrains-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage" data-stage>
<!-- the opening of a made-up executive search firm. Under the whole grid a WebGL canvas draws a field of 1-bit dots
(an 8x8 Bayer dither over warped fbm noise); the empty cells of the grid are windows on it. The pointer stirs a
small fluid simulation whose smoke is turned into mint dots by the same Bayer matrix -->
<canvas class="field" data-field aria-hidden="true"></canvas>
<header class="bar">
<span class="brand">
<svg class="brand__mark" viewBox="0 0 24 24" aria-hidden="true">
<path d="M4 20V5.5L12 14l8-8.5V20"/>
</svg>
<span class="brand__name">Meridel Search</span>
</span>
<nav class="bar__nav" aria-label="Sections">
<a href="#practice">Practice</a>
<a href="#placements">Placements</a>
<a href="#team">Team</a>
</nav>
<a class="bar__contact" href="#contact">Contact</a>
</header>
<section class="grid" data-grid>
<div class="cell cell--title" data-panel>
<p class="eyebrow">Executive search for engineering</p>
<h1 class="title" data-title aria-label="Meridel">Meridel</h1>
<div class="lede">
<p class="lede__line" data-line>We place staff engineers, research leads and CTOs at the companies that set the pace. Quietly, one search at a time.</p>
<button class="pill" type="button" data-pill>
<span class="pill__fill" aria-hidden="true"></span>
<span class="pill__words" data-pill-words>
<span class="pill__word">Start a conversation</span>
<span class="pill__word" aria-hidden="true">We reply within a day</span>
</span>
<span class="pill__icon" aria-hidden="true">
<svg viewBox="0 0 16 16"><path d="M3 8h10M9 4l4 4-4 4"/></svg>
</span>
</button>
</div>
</div>
<div class="cell cell--window cell--w1" data-window>
<span class="tick tick--tl"></span><span class="tick tick--tr"></span><span class="tick tick--bl"></span><span class="tick tick--br"></span>
<span class="tag" data-hint>Move to stir</span>
</div>
<div class="cell cell--data cell--dark" data-panel>
<p class="label">Placements since 2011</p>
<div class="data">
<p class="figure" data-figure="418">418</p>
<svg class="spark" viewBox="0 0 120 28" preserveAspectRatio="none" aria-hidden="true" data-spark>
<path d="M2 26V17M12 26V20M22 26V14M32 26V18M42 26V11M52 26V15M62 26V9M72 26V13M82 26V7M92 26V10M102 26V5M112 26V3"/>
</svg>
</div>
</div>
<div class="cell cell--window cell--w2" data-window>
<span class="tick tick--tl"></span><span class="tick tick--tr"></span><span class="tick tick--bl"></span><span class="tick tick--br"></span>
</div>
<div class="cell cell--window cell--w3" data-window>
<span class="tick tick--tl"></span><span class="tick tick--tr"></span><span class="tick tick--bl"></span><span class="tick tick--br"></span>
</div>
<div class="cell cell--data cell--mint" data-panel>
<p class="label">Median time to offer</p>
<div class="data">
<p class="figure"><span data-figure="34">34</span> <span class="figure__unit">days</span></p>
<span class="meter" aria-hidden="true"><span class="meter__fill" data-meter></span></span>
<p class="note">Industry median: 71 days</p>
</div>
</div>
<div class="cell cell--window cell--w4" data-window>
<span class="tick tick--tl"></span><span class="tick tick--tr"></span><span class="tick tick--bl"></span><span class="tick tick--br"></span>
</div>
<div class="cell cell--data cell--grey" data-panel>
<p class="label">Recent offers</p>
<div class="data">
<p class="figure figure--range">$<span data-figure="1.2">1.2</span>M<span class="figure__dash">–</span><span data-figure="4.8">4.8</span>M</p>
<p class="note">Base and equity, last twelve months</p>
</div>
</div>
</section>
<svg class="cursor" data-cursor viewBox="0 0 24 24" aria-hidden="true"><path d="M5 2.8v16.4l4.2-4 2.8 6.2 2.9-1.3-2.8-6.1h5.9Z"/></svg>
</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/CustomEase.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.
50 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 “Mint dither background” from Animorio and fit it into my siteThe WebGL canvas sits absolute under the bar and the grid; the full cells are lids with a solid colour, the empty ones are transparent. So there is one background, and smoke passing under a cell shows again in the window next to it, as on the site. The lines of the grid are the right and bottom borders of each cell, with the grid pushed one pixel out of the stage.
The site’s classic 2D Perlin noise (times 2.3) inside a four octave fBm that adds abs(cnoise): frequency times 3 and amplitude times 0.4 at each octave. A domain warping map, fbm(uv + fbm(uv) x 0.5), is worked out only when the size changes; then every frame fbm(uv - time x 0.006 + warp x 0.1), smoothstep(0.28, 0.72), to the power 1.2, between #888888 and #e0e0e0. The noise is drawn into a texture with one texel per dot, so it costs a quarter of the pixels.
The final pass takes the colour at the centre of its dot (pixelSize 2), adds the threshold of the 8x8 Bayer matrix minus 0.25, takes off the 0.18 bias and rounds to two colours: only dark and light dots are left. A threshold rising from the bottom develops the dither on opening, dot by dot.
Velocity in a texture 128 long on its long side, smoke in one of 384, in half float. At every move a gaussian splat with a radius of (48 / height)², force 2200 for the movement and up to 0.35 of smoke (less when the pointer moved less than 12 pixels); then curl, vorticity (22), advection of the velocity (dissipation 1.8) and of the smoke (3.2), with no pressure pass, the step held between 0.001 and 0.0166 s.
In the same shader as the dither the density of the smoke is compared with the same Bayer threshold: where it is higher the dot turns mint. The smooth smoke becomes a stippling with the same pattern as the background.
A GSAP timeline takes a drawn pointer through the windows on sine.inOut curves, brushes the button (hover), presses it and leaves; every step goes through the same function as the real mouse. The first real move stops it, and it comes back after 2.5 quiet seconds.
The mint fill comes in from the left and leaves to the right (transformOrigin switched on the way out), the words go from wdth 100 to 112, the arrow leaves and comes back with a back.out; pressed it gives to 0.955 and springs back with elastic.out, puffs twelve splats in a ring and the words rise to «We reply within a day». The digits are 0-9 columns rolling with the site’s expo out easing, 1.2 s and 0.06 s apart.
| Name | File | Default | What it changes |
|---|---|---|---|
WAVE_SPEED | script.js | 0.006 | How fast the noise drifts (the site uses 0.006). |
WAVE_FREQUENCY | script.js | 3 | How much finer each octave of the noise is (the site uses 3). |
WAVE_AMPLITUDE | script.js | 0.4 | How much weaker each octave is (the site uses 0.4). |
PIXEL_SIZE | script.js | 2 | The size of one dot, in CSS pixels (the site uses 2). |
BIAS | script.js | 0.18 | How much darker the dither is pushed (the site uses 0.18). |
CURL | script.js | 22 | How hard the smoke curls on itself (the site uses 22). |
VELOCITY_DISSIPATION | script.js | 1.8 | How quickly the stirred air calms down (the site uses 1.8). |
DYE_DISSIPATION | script.js | 3.2 | How quickly the mint smoke fades (the site uses 3.2). |
SPLAT_FORCE | script.js | 2200 | How hard the pointer pushes the air (the site uses 2200). |
SPLAT_DYE | script.js | 0.35 | How much smoke each move leaves, at most (the site always uses 0.35; here a slow move leaves less). |
SPLAT_RADIUS | script.js | 48 | The radius of each puff, in CSS pixels (the site uses 48). |
REVEAL_TIME | script.js | 1.8 | Seconds the dither takes to develop from the bottom on opening. |
IDLE | script.js | 2.5 | Quiet seconds before the pointer comes back by itself. |
For the opening of a site that wants a lively but sober background behind a title and figures: a studio, a consulting or search firm, a technical product, a landing page with a precise retro tone. It works well behind a grid of full and empty cells, where the background shows only here and there.
The same animation with adapted sizes: the grid becomes two columns (the title on top, then two windows and two cells with figures), title and figures are measured on the height too, the canvas is recomputed at every resize. The site turns the smoke off on phones; here a moving finger stirs it and the pointer passing by itself shows it anyway.
The dither is drawn once and stays still (on the site the noise keeps drifting even with reduced motion). No smoke, no pointer on its own: the page fades in with the figures already in place.
GSAP 3.15.0, CustomEase 3.15.0, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 15 KB; the libraries: GSAP + CustomEase 31 KB.
Tested on 12 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.
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.