24 interactive website backgrounds for technical B2B sites, live and in code

Generic gradients make every B2B site look the same. These 24 backgrounds react to the cursor, run in plain canvas and each say something about what a technical company does. Move your pointer over any of them.

Jaro6 min read
Summarize
Three of the interactive backgrounds: a red dithered horizon, noise-bent strings and reaction-diffusion dots

Key takeaways

  1. 01An interactive background should say what your company does, not just look nice.
  2. 02Technical B2B buyers read craft as competence: a coded hero is proof, not decoration.
  3. 03Plain 2D canvas covers almost all of it. No library, a few kilobytes, no WebGL.
  4. 04Pause it off screen, respect reduced motion, keep the text as the largest paint.
  5. 05One accent colour and hairline greys keep even a physics simulation on brand.

Search for “animated gradient background” and you get the same soft purple blob that sits behind half the SaaS homepages on the internet. It is pretty, and it says nothing. For a technical B2B company that is a missed chance, because the first screen is where a buyer decides whether you are serious. This article collects 24 interactive website backgrounds we built in code, each running live on this page, with the kind of company each one suits and the rules that keep them fast.

What is an interactive website background?

An interactive website background is an animated layer behind your content that is generated in code and responds to the visitor, usually the cursor. A static gradient or a looping video plays the same for everyone. An interactive background reacts: lines part around the pointer, particles scatter, a grid bends toward it.

That reaction is the point. It turns the hero from something people look past into something they touch for a second, and that second is when they notice the craft behind the site.

Why technical B2B websites should use one

Technical buyers judge your product by everything they can see before a demo, and the website is the first thing. A background that is clearly engineered, that responds precisely and runs smoothly, is a small proof that the team behind it cares about detail. A template gradient is proof of the opposite.

Three reasons it works especially well for B2B tech:

  • It can explain what you do. A data company can show data flowing. An infrastructure company can show a system under load. A biotech can show growth. The background becomes a metaphor for the product, not decoration.
  • It differentiates in a category of lookalikes. Most B2B SaaS heroes use the same layout, the same gradient and the same dashboard screenshot. Motion that is yours is one of the few things a competitor cannot copy from a template.
  • It holds attention without asking for it. A subtle, reactive layer keeps people on the first screen a few seconds longer, while the headline does the selling.

And when not to use one: if your audience is on slow devices, if your headline is weak, or if the motion would compete with a product demo above the fold. A background supports a message. It never replaces one.

Animated gradient vs interactive background

An animated gradient moves on its own: CSS keyframes shifting colours, or a looping video. An interactive background is computed every frame and reacts to input. Gradients are cheaper and fine for a calm brand. Interactive backgrounds cost a little more and say a lot more.

Popular styles you will see searched for, and where they sit:

Style What it is Interactive?
Mesh or grain gradient Soft colour blobs with film grain Can be, drawn on canvas
Animated gradient (CSS) Keyframed colours or positions No
ASCII background Text characters as pixels Yes
Dither effect 1-bit pixel shading Yes
Particle background Many small moving points Yes
Generative art Rules that draw over time Yes

Gradients, light and texture

These are the closest to a classic gradient background, with more depth and a response to the cursor. Good when the brand should feel warm and premium rather than technical.

Type and characters

Typography as texture. These work when the brand voice is strong and a little bold, and for companies whose product is code or language.

Lines and signal

Hairlines read as precise and technical. These suit companies whose product is data, measurement or connection.

Systems and simulations

The most surprising group: real physics and growth rules running in the background. They suit research-heavy companies, where showing a system behave is the most honest metaphor.

How to add an interactive background to your website

Draw it on a single canvas element behind the hero, generated from a small script with no library. Every background on this page is under a few hundred lines of maths, uses the 2D canvas API and reads its colours from the site’s design tokens, so it follows light and dark mode automatically.

The structure that keeps it simple:

  1. One canvas, positioned behind the content. Absolutely positioned, pointer-events: none, marked aria-hidden because it is decorative.
  2. One loop, one effect function. Each frame, the effect receives the canvas size, the time, the pointer and the theme colours, and draws.
  3. Colours from tokens, not hex codes. Read them from CSS custom properties at runtime, and the background matches the brand and both themes without extra work.
  4. The pointer eases in and out. Track a 0 to 1 value that rises while the cursor is over the section and falls when it leaves, so nothing snaps.

Keep it fast: the performance checklist

An interactive background must never cost you the speed score. These rules kept our pages at 100 for performance on desktop and in the high 90s on mobile, with the background running.

  • Start after load. The background begins once the page has finished loading, so it never delays the first paint.
  • The headline is the largest paint. Never let the canvas become the Largest Contentful Paint. Text first, motion after.
  • Pause off screen. An Intersection Observer stops the loop when the section scrolls away, and the loop also stops in hidden tabs.
  • Respect reduced motion. Visitors who turn animation off get one still frame of the same image.
  • Simulate small, draw big. Heavy effects run at reduced resolution and scale up: reaction-diffusion at 128 cells wide, the 3D metal at 160 pixels wide.
  • Cap the device pixel ratio at 2. Above that, the cost grows and nobody can see the difference.

Keep it on brand

The difference between a background that looks premium and one that looks like a demo is restraint. Ours follow three rules: hairline greys from the text colours, one accent colour used on a single element at a time, and the site’s own grid wherever the effect has structure. Even the flocking birds snap toward the column lines when they are calm.

If a background needs more than one accent colour to look good, it is the wrong background.

How we built them

We built all 24 with Claude Opus 5.5 in Claude Code, working from a brief, our design tokens and a short research pass on the generative algorithms behind the best creative studio work. The same approach made our brand film, which we wrote up in Opus 5.5 for video, motion and sound. You can see all of them full screen on our gradients page.

If you want a hero that says what your company does, built to this standard and still scoring 100, tell us what you are building.

Questions founders ask

01

What is an interactive website background?

An interactive website background is an animated layer behind a page's content that responds to the visitor, usually to the cursor, scroll or touch. Unlike a looping video or a static gradient, it is generated in code as you watch, so it can react: lines part around the pointer, particles scatter, a grid bends.

02

Do animated backgrounds hurt SEO or Lighthouse scores?

Not if they are built carefully. Start the animation after the page loads, keep the headline as the largest contentful paint, pause the loop when the background is off screen or the tab is hidden, and skip libraries. Our pages with these backgrounds score 100 for performance on desktop and in the high 90s on mobile.

03

How do I make an animated gradient background with CSS?

The simplest version is a large linear or radial gradient with an animated background-position, or a few blurred, absolutely positioned blobs moving with keyframes. It is cheap, but it cannot react to the cursor. For an interactive gradient, draw radial gradients onto a small canvas each frame and scale it up, which gives a free blur, as the Aura background in this article does.

04

Should I use Three.js or canvas for a website background?

Use 2D canvas unless you need real 3D lighting at full resolution. Canvas needs no library and loads in a few kilobytes. Three.js adds around 150 KB before your scene and is worth it for full 3D scenes and shaders. Every background in this article, including the 3D Liquid metal, runs on plain canvas.

05

Are interactive backgrounds accessible?

They can be. Mark the canvas as decorative with aria-hidden, keep text contrast at WCAG AA over the busiest frame, and honour prefers-reduced-motion by showing a single still frame. Never put information in the background that is not also in the text.

06

Which interactive background suits a B2B SaaS website?

Pick the one that matches what your product does. Data and streaming companies suit flowing particles or ridgelines, developer tools suit ASCII or cellular automata, AI research suits growth and reaction-diffusion, and hardware suits wireframe terrain or liquid metal. Each background below lists the companies it fits.

Sources

  1. MDN: Canvas APIThe drawing API every background here uses
  2. MDN: prefers-reduced-motionHow to respect visitors who turn animation off
  3. web.dev: Largest Contentful PaintWhy the headline, not the background, should be the largest paint
  4. MDN: Intersection Observer APIPausing animation when it is off screen
Websitesinteractive website backgroundsanimated gradient backgroundhero section background animationwebsite background animationcreative codinggenerative artB2B website designcanvas animation
Portrait of Jaro

Jaro

CreativeDesign9 yearsYouTube

Founder and creative director. Nine years and 60+ websites as a Webflow Premium Partner, including the rebrand and site for MobiWire, a top five ODM globally. Runs several SaaS products of his own, including a top three SEO app for Webflow.

Keep reading