Add a light rays background to [the section I point to] (soft volumetric light shafts falling into a dark section, also called god rays). Visual: a light source just above the top edge of the section, a bit off centre. From it, soft rays fan downwards, each with its own width and brightness, feathered edges and a long falloff toward the bottom. Only use colours from my palette, fading into the section background. Add faint dust particles that drift slowly inside the brightest rays. Behaviour: the rays never jump around. Only their brightness breathes slowly, each ray on its own rhythm. The mouse bends the ray field a little, like a lens: shift the light source a few percent toward the pointer, eased. Tech: one fragment shader in plain WebGL on a canvas behind the content (angle from the source, a sum of soft bands per ray, multiplied by a radial falloff). Cap the device pixel ratio at 1.5 and the frame rate at 30fps, and pause off screen. Keep the text on top high in contrast. Fallback: a static radial gradient without WebGL, and one still frame with prefers-reduced-motion. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
Interactive shader background
A live background drawn by the graphics card, based on a brand shape, that reacts to your mouse.
This is the real effect. Scroll or move your mouse inside the frame to try it.
Add an interactive shader background to [the section I point to] (a live WebGL background that reacts to the mouse). Visual: soft concentric ring bands that rotate slowly, based on [a shape from my logo or brand]. Only use colours from my palette. Add a slow wave warp so the shape feels alive. Interaction: around the mouse pointer, push the field away in a soft bubble (displace the coordinates radially with a smooth falloff), easing the pointer position so it trails a little. Without a pointer (touch devices), let a virtual pointer wander slowly. Tech: one full-screen fragment shader in plain WebGL (no three.js needed) on a canvas behind the content. Cap the device pixel ratio at 1.5 and the frame rate at 30fps, and pause when the section is off screen or the tab is hidden. Keep the text on top readable. Fallback: a static CSS gradient when WebGL is not available, and a single still frame with prefers-reduced-motion. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
What it is
A background that is not an image or a video. The graphics card draws it live, every frame, and it reacts when you move your mouse over it.
When it works
Heroes, mostly. The best versions take a shape from the logo, so the background feels like the brand, not a random gradient. That is the whole trick: base the shape on something from the brand.
Get it right
- Use your own palette. Generic purple-blue blobs are exactly what makes a site look AI made.
- Cap the frame rate and pause it when it is off screen. It saves battery.
- Always have a static fallback.
Also called
- WebGL background
- Mouse-reactive shader
- Animated shader gradient
- Generative hero background
More effects.
All effects- BackgroundsPrompt
- ScrollPrompt
Add a scroll progress timeline effect to [the list of steps I point to]: a vertical line that fills in as you scroll, and every step lights up when the line reaches it. Visual: a thin vertical track runs next to the steps, with a marker per step. On top of the track: a fill line, with a dot at the end of the fill. Behaviour: the dot always sits at the vertical middle of the screen while you scroll through the list, and the fill grows from the top of the track down to that dot. Clamp it so it never goes past the start or end of the track. Every step whose marker has passed the middle of the screen becomes active: its marker and text switch from the inactive to the active state, with a short transition. Use plain JavaScript with requestAnimationFrame on scroll, no library. On mobile (from 360px) the track stays on the left and the text wraps. Respect prefers-reduced-motion by removing the transitions. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.
- ScrollPrompt
Add a sticky overlap reveal to [the sections I point to]: each full-screen panel pins in place while the next one slides over it like a new layer. Behaviour: every panel is position: sticky with top 0 and the full viewport height, so it stays put while the next panel scrolls up over it. While a panel is being covered, scale its content down to about 0.94, move its text up slightly and darken it with an overlay to about 55%, all based on how far the next panel has travelled. Use a passive scroll listener with requestAnimationFrame, no library. Images: object-fit: cover inside a fixed frame, so any image works, and keep the text readable on top of them. Works from 360px. Respect prefers-reduced-motion by keeping the pinning but removing the scale and movement. Style: build it in the existing design system of this website. Reuse its colours, fonts, spacing, corner radius and existing classes or components, and don't add new colours or fonts. Use real content from this website for any text or images in the effect (its headings, services and copy), never placeholder text. If the project has no design system yet, ask me for the brand colours and fonts before you start.