The background on this site starts with a question: can a screen feel a little like printed paper? I wanted the colour to sit in broad, cloudy areas, with enough texture to notice and enough movement to make it feel alive. The effect I kept coming back to was a surface rising and falling under light.
The notes below describe the original Canvas experiment. The version on the site now runs in two WebGL passes. The first calculates colour and lighting once per grid cell, and the second draws those cells with a fine layer of grain. A preset seed varies the palette, blend, shape, and motion together. Higher cloud scales get a lighter ink wash so the finer texture stays quiet behind the text. Use the Background button to try another preset or return to the default.
Start with a grid and a seed
The script draws on a canvas that covers the viewport. It samples the scene on a grid of squares, 24 CSS pixels wide in the current preset. The grid is anchored to the top-left corner. If you make the window wider, you reveal more of the pattern at the same scale.
Each square samples Perlin noise, a way of generating values that vary smoothly across space. If every square got a fresh random value, the result would look like static. With Perlin noise, neighboring squares tend to have similar values, which lets clusters read as clouds. I combine three scales of noise, with each finer scale contributing less than the one before it.
The seed determines the noise pattern. Run the same seed and settings at the same size and animation phase, and the canvas can recreate the same frame.
Mix the inks
The original palette is lilac, aqua, and soft ochre. Each colour has a broad area of influence. At each square, the renderer weighs the colours by their distance from those areas and by the sampled noise. A square can sit between two colours and pick up some of both.
The finish determines how that square is printed. The default Risograph finish adds tiny seeded flecks and softens the edges. Other finishes turn the same samples into dots, broken stamps, or repeating marks. The canvas uses Multiply blending by default, so the ink also picks up the colour of the paper beneath it.
Give the surface some relief
To give the pattern a sense of depth, the script treats a second noise field as a height map. It samples the height on either side of a square along the direction of the light. The difference gives a signed slope, which the renderer can use for a highlight or shadow.
The animation changes that lighting over time. A slow cycle lets areas pass from light to dark, and the seed staggers the cycle across the grid. I tried shifting the noise field in a loop, but it looked like the whole background was rotating. Keeping the cells anchored and cycling their shading felt closer to the surface I had in mind.
The editor lets me isolate what moves. I can animate brightness, opacity, or vibrance independently, or let the colour mix change as well. That last option can make the colour boundaries appear to expand and contract even though the grid stays put.
Experiment with a visitor’s palette
In the local editor, I can enter an example IP address with a network prefix length, such as 192.0.2.42/24. The prefix length picks a warm or cool undertone. The network portion generates a set of hues, and the remaining bits vary settings such as ink opacity and light direction. Two example addresses on the same network can share an ink palette while producing different lighting.
I also tried using the browser’s local time to choose a pale paper tint. The IP adds a small variation within that tint. These palette and paper experiments live in the local editor. The hosted renderer supports a server-derived seed when configured, which changes the noise pattern.
Make room for the rest of the page
Sampling larger squares means fewer noise calculations per frame. The renderer also reuses its pixel buffer and spaces out redraws when they take longer. It pauses in hidden tabs and respects reduced-motion preferences. There’s a pause control for anyone who prefers to read with the background still.
The part I enjoyed most was separating the decisions. The seed gives the pattern a starting point, the ink gives it colour, and the light gives it movement. I can change one without having to redraw the whole idea.