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-scrubbed video effect to [the section I point to]: the video plays forward and backward with the scroll, like on Apple product pages. Behaviour: the section becomes a tall wrapper with a sticky inner panel of 100vh, and the video fills that panel with object-fit: cover. Map the scroll progress through the wrapper (0 to 1) to video.currentTime. Smooth it by easing the current time toward the target every animation frame, and skip a frame while the video is still seeking, so it never stutters. The video is muted, paused, playsinline and preload metadata, and only loads when the section comes near the viewport. Any captions in the section fade in during their own part of the scroll and stay readable on top of the video. Video file: for smooth scrubbing it needs a keyframe on every frame or every few frames (for example ffmpeg with -g 1 or -g 5). Keep it short and under 5 MB. Accessibility: with prefers-reduced-motion, show a poster image and the captions as a normal list instead. 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.
- LayoutPrompt
Turn [the gallery or cards I point to] into a bleed slider: it starts in line with the page content on the left, but runs off the right edge of the screen. Layout: the left edge of the first slide lines up with my normal content container. The track runs to the right edge of the viewport, so the next slide is visibly cut off there, which tells people there is more. Images keep a fixed aspect ratio. Tech: a native horizontal scroll container with scroll-snap (snap-align start) and a hidden scrollbar. Set padding-inline-start (and scroll-padding-inline-start) to the same value as the container's left edge, for example max(5vw, (100vw - container width) / 2), so the first slide lines up and every snap lands on that line. Add mouse dragging for desktop (pointer events, with a small inertia) and two arrow buttons that scroll by one slide and disable at the ends. Accessibility: the slides are a list, arrows are real buttons with labels, it scrolls with the keyboard and with touch natively. Respect prefers-reduced-motion by using instant scrolling for the arrows. 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.