Demo hero, drawn under the coral

Let it grow behind you.

A mock landing page for testing the wake. Living Turing patterns bloom where your cursor has been, then retreat on their own, and they never take a click.

How it works

How it works

How it works

Two simulated chemicals react and diffuse on a grid of 2.5 px cells. This is the Gray-Scott model, and depending on two numbers it grows coral, worms, spots or mazes on its own. The trick is that those two numbers are not global. Your cursor paints a fading wake, and inside the wake the chemistry is set to a living pattern regime while everywhere else it is set to one where patterns die. So the pattern blooms out of spores a step behind you, holds for about four seconds, and then retreats by itself: fingers thin and withdraw, spots shrink, nothing fades to haze. Each frame the chemical is upsampled with a cubic B-spline and lit as glossy enamel or polished metal with a soft cast shadow, or drawn as constant-width neon contour lines. Around the cursor, and around any button it rests on, the pattern parts so it never covers what you are about to click.

Pipeline (per frame)

Sizes at 1280×720 CSS px, DPR 2 (a 2560×1440 canvas), cell 2.5 px, Steps 28.

load ─▶ PRE-ROLL: 30 hidden frames of the intro stroke (sim only, no display), so
        the first visible frame already shows grown coral

pointer ─▶ ring of per-frame samples ─▶ PEN = where the pointer was 100 ms ago
   │        (intro: no lag, 40 steps, spores ≥ .5, brush ×1.2)
   │        live pointer: fluid splat, clear disc; hovered link/button: clear rect
   │
   ├─▶ FLUID   RG16F 228×128, velocity in texels/s     (skipped 3 s after the last stroke)
   │      grip splat (mix toward pointer velocity by 1 − e^(−21·dt))
   │      ─▶ viscosity: 2 Jacobi, ν = 55 texel²/s ─▶ divergence
   │      ─▶ 6 Jacobi (first warm-started from 0.8^(60·dt)·p) ─▶ v −= ∇p
   │      ─▶ self-advect, fade 2/s
   │
   ├─▶ MASK    R16F 512×288   m = advect(m)·e^(−dt/τ) ; m = max(m, flat-top capsule at PEN)
   │           capsule radius × lobes(cell) ∈ [.72, 1.28]: value noise, 20 cells, fixed
   │
   ▼
RD STATE  RG16F 512×288 ping-pong, stores (u = 1 − A, B), texelFetch, zero-flux edges
   SEED   advect by the fluid (once per frame, bilinear), then inside the PEN capsule
          (same lobes): B = max(B, b·spore), u = max(u, .5·spore),
          b = .3 + 6·max(0, F − .055); spores = 2-octave value noise at λ = 6 cells,
          fixed in space (slow drift), threshold .72 − .3·Spores, lower toward the centre
   STEP   ×14 passes = 28 Gray-Scott steps (two per pass from a 5×5 neighbourhood)
          9-point Laplacian, DA = 1, DB = .5, dt = 1
          (F, k) = mix(dead, live, smoothstep(.30, .36, m))   ◀── the style map
          live k = √F/2 − F + Kill offset
          dead k = √F/2 − F + max(Kill offset, .011) + Dissolve
   │
   ▼
PREP      RGBA16F 512×288     (B, ∂B/∂x, ∂B/∂y, max B over 5×5) per cell
GLOW      RGBA16F 256×144 ─▶ 128×72 ─▶ 64×36 (─▶ 32×18 on dark pages)
          dual-filter down + tent up; rgb = glow (fill or edge band, × palette),
          a = blurred coverage (the light page's shadow; on dark pages the 32×18
          level's a is the density of shapes, which drives the gel)
   │
   ▼
DISPLAY   2560×1440, premultiplied over the page (pointer-events: none)
          4-tap cubic B-spline of PREP ─▶ clear windows (B pushed below iso)
          edge: d = (B − .2)/|∇B| · px per cell ─▶ 1 px anti-aliased coverage
          outside the live wake: coverage × smoothstep(.21, .245, peak)
          dark page, inside a window: also × smoothstep(.21, .245, peak − push)
          filled: dome height ─▶ normal ─▶ Blinn-Phong + glaze + ramp by thickness
                  metal: + sky gradient and a crisp reflection band (× window)
                  light page: rgb clamped to alpha, + cast shadow (B-spline of
                              GLOW.a, offset to the lower right)
                  dark page:  + bloom (B-spline of GLOW.rgb), + gel when Glow > 1
                              (B-spline of the 32×18 level's a)
          neon:   1–3 iso-lines at B = .20 / .11 / .30, Gaussian profile of fixed px
                  width, each drawn only where the peak clears its level by .012–.055;
                  the outer (.11) line also needs the peak to clear .21–.24
          ±1 LSB dither ─▶ canvas
35 passes per frame while you draw on a light page (37 on dark), 23 / 25 once the
fluid has settled; after the end-of-life fade, none

The ideas that matter

Parameters

Presets

Performance & compatibility

References & credits